Date: Wed, 30 Jun 2010 12:13:30 +0400 From: Anonymous <swell.k@gmail.com> To: Doug Barton <dougb@FreeBSD.org> Cc: dinoex@FreeBSD.org, ports@FreeBSD.org Subject: Re: graphics/png does not compile with gcc 4.5.1 Message-ID: <86wrthym39.fsf@gmail.com> In-Reply-To: <alpine.BSF.2.00.1006292331380.62662@qbhto.arg> (Doug Barton's message of "Tue, 29 Jun 2010 23:41:22 -0700 (PDT)") References: <alpine.BSF.2.00.1006290952200.23004@qbhto.arg> <86zkydcl1e.fsf@gmail.com> <4C2AB9E4.4030200@FreeBSD.org> <alpine.BSF.2.00.1006292034400.51161@qbhto.arg> <alpine.BSF.2.00.1006292331380.62662@qbhto.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <dougb@FreeBSD.org> writes: > nm libssp.so.0 | grep __stack_chk_fail_local > 00000ac0 t __stack_chk_fail_local > > So I'm at a loss, and pretty close to throwing in the towel and going > back to the base gcc for everything. I'm not sure what FreeBSD version you're using but I have __stack_chk_fail_local alias in libc. $ readelf -s $LOCALBASE/lib/gcc45/libssp.so.0 | fgrep __stack_chk_fail 11: 0000000000000c80 24 FUNC GLOBAL DEFAULT 8 __stack_chk_fail@@LIBSSP_1.0 51: 0000000000000cc0 5 FUNC LOCAL HIDDEN 8 __stack_chk_fail_local 68: 0000000000000c80 24 FUNC GLOBAL DEFAULT 8 __stack_chk_fail $ readelf -s /lib/libc.so.7 | fgrep __stack_chk_fail 989: 00000000000adf90 12 FUNC GLOBAL DEFAULT 10 __stack_chk_fail@@FBSD_1.0 1514: 00000000000adf90 12 FUNC GLOBAL DEFAULT 10 __stack_chk_fail_local@FBSD_1.0 1605: 00000000000adf90 12 FUNC GLOBAL DEFAULT 10 __stack_chk_fail 2130: 00000000000adf90 12 FUNC GLOBAL DEFAULT 10 __stack_chk_fail_local@FB $ fgrep __stack_chk_fail_local -r lib/libc -C2 lib/libc/sys/stack_protector.c- lib/libc/sys/stack_protector.c-#ifdef PIC lib/libc/sys/stack_protector.c:__sym_compat(__stack_chk_fail_local, __stack_chk_fail, FBSD_1.0); lib/libc/sys/stack_protector.c-#else lib/libc/sys/stack_protector.c:__weak_reference(__stack_chk_fail, __stack_chk_fail_local); lib/libc/sys/stack_protector.c-#endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wrthym39.fsf>