graphics/png does not compile with gcc 4.5.1

Anonymous swell.k at gmail.com
Mon Jul 5 11:54:05 UTC 2010


Anonymous <swell.k at gmail.com> writes:

> Doug Barton <dougb at FreeBSD.org> writes:
>
>> readelf -s /lib/libc.so.7 | fgrep __stack_chk_fail
>>    952: 00028060    26 FUNC    GLOBAL DEFAULT   10 __stack_chk_fail@@FBSD_1.0
>>   1457: 00028060    26 FUNC    GLOBAL DEFAULT   10 __stack_chk_fail_local at FBSD_1.0
>
>>     45: 000ecec0    29 FUNC    LOCAL  HIDDEN    10 __stack_chk_fail_local
>
> I don't see such HIDDEN symbol on i386/amd64 snapshots from Jun 30 at
> allbsd.org. Can you *install* libc.so.7 from there and try again?

Did it help? Based on result from above suggestion either my guesses
were incorrect[1] or you have messed up environment/make.conf[2].
To debug the latter you'd have to bisect your own build configuration.

[1] the problem is reproducable on libc from snapshot
[2] ... *not* reproducable ...

>
>>   1542: 00028060    26 FUNC    GLOBAL DEFAULT   10 __stack_chk_fail
>>   2047: 00028060    26 FUNC    GLOBAL DEFAULT   10 __stack_chk_fail_local at FB


More information about the freebsd-ports mailing list