Date: Mon, 7 Jan 2013 17:06:02 +0400 From: awarecons <awarecons@gmail.com> To: ports@freebsd.org, ports-bugs@freebsd.org Subject: graphics/libmng gcc 4.6.3 ISSUE undefined reference to `__stack_chk_fail_local' Message-ID: <CACGq7x15SB7OeeNpOGWLwDfhNbELiTDx7Ss6iLKwzW9vstF3Pg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
gcc 4.6.3: gcc46 -fpic -DPIC -O2 -pipe -march=pentium4 -mtune=pentium4 -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -march=pentium4 -mtune=pentium4 -I/usr/local/include -DMNG_OPTIMIZE_CHUNKINITFREE -DMNG_OPTIMIZE_OBJCLEANUP -DMNG_OPTIMIZE_CHUNKASSIGN -DMNG_OPTIMIZE_CHUNKREADER -std=gnu99 -fstack-protector -c libmng_zlib.c -o libmng_zlib.So building shared library libmng.so.1 building static mng library /usr/local/bin/ranlib libmng.a libmng_chunk_descr.So: In function `mng_pplt_entries': libmng_chunk_descr.c:(.text+0x1f41): undefined reference to `__stack_chk_fail_local' libmng_pixels.So: In function `.L1180': libmng_pixels.c:(.text+0xa1da): undefined reference to `__stack_chk_fail_local' libmng_pixels.So: In function `mng_retrieve_g8': libmng_pixels.c:(.text+0xa5ff): undefined reference to `__stack_chk_fail_local' collect2: ld returned 1 exit status *** Error code 1 1 error *** Error code 1 Stop in /usr/ports/graphics/libmng. *** Error code 1 Stop in /usr/ports/graphics/libmng. But default gcc 4.2 works fine.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACGq7x15SB7OeeNpOGWLwDfhNbELiTDx7Ss6iLKwzW9vstF3Pg>