Thank you.

As you could notice from the lines (...gcc46 -fpic -DPIC -O2 -pipe
-march=pentium4 -mtune=pentium4...) it raised, when compiling for i386
arch and, yes, it's not on amd64 platform, but i386.

2013/1/7 John Marino <freebs...@marino.st>:
> 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
>
>
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to