Date: Mon, 07 Jan 2013 15:33:37 +0100 From: John Marino <freebsdml@marino.st> To: awarecons <awarecons@gmail.com> Cc: ports@freebsd.org, ports-bugs@freebsd.org Subject: Re: graphics/libmng gcc 4.6.3 ISSUE undefined reference to `__stack_chk_fail_local' Message-ID: <50EADCC1.1060702@marino.st> In-Reply-To: <CACGq7x15SB7OeeNpOGWLwDfhNbELiTDx7Ss6iLKwzW9vstF3Pg@mail.gmail.com> References: <CACGq7x15SB7OeeNpOGWLwDfhNbELiTDx7Ss6iLKwzW9vstF3Pg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/7/2013 14:06, awarecons wrote: > 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 This is a common problem for amd64 that affects both FreeBSD and DragonFly. We ended up patching the base compilers (two, gcc 4.4 and gcc 4.7) to bypass it. http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5dd34005fbf5509736906dc6aa56d3e77f6a3dcb I suspect that all your ports gcc compilers could use a similar patch. John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50EADCC1.1060702>