[vserver] util-vserver fails to build with gcc 4.4

From: Romain Riviere <romain.riviere_at_gmail.com>
Date: Wed 17 Nov 2010 - 14:36:09 GMT
Message-Id: <9FF6C00A-3B38-4150-BD6A-A6A278D168B3@gmail.com>

Hello list,

While trying to build util-vserver (pre2924) using gcc-4.4, I got this :

/bin/sh ./libtool --tag=CC --mode=link diet -Os i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-O1 -Wl,--as-needed -o src/chain-echo src/chain-echo.o
/bin/sh ./libtool --tag=CC --mode=link diet -Os i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-O1 -Wl,--as-needed -o src/check-unixfile src/check-unixfile.o
/bin/sh ./libtool --tag=CC --mode=link diet -Os i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-O1 -Wl,--as-needed -o src/fakerunlevel src/fakerunlevel.o
/bin/sh ./libtool --tag=CC --mode=link diet -Os i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-O1 -Wl,--as-needed -o src/lockfile src/lockfile.o
diet -Os i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-O1 -Wl,--as-needed -o src/chain-echo src/chain-echo.o
diet -Os i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-O1 -Wl,--as-needed -o src/check-unixfile src/check-unixfile.o
src/chain-echo.o: In function `FatalErrnoError':
chain-echo.c:(.text+0x5f): undefined reference to `__stack_chk_fail_local'
src/chain-echo.o: In function `main':
chain-echo.c:(.text+0x26e): undefined reference to `__stack_chk_fail_local'

A quick search led me to http://bugs.gentoo.org/show_bug.cgi?id=326285, but it is way over my head to dig into this and find a solution for now :-/

Anyone care to shed some light on this ?

Cheers :-)
Romain
Received on Wed Nov 17 14:36:59 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 17 Nov 2010 - 14:37:00 GMT by hypermail 2.1.8