thunderbird and gcc44 (again)
avg at icyb.net.ua
Mon Sep 13 09:38:14 UTC 2010
on 13/09/2010 12:30 Beat Gaetzi said the following:
> On 13.09.2010 09:23, Andriy Gapon wrote:
>> Big thanks to all who made it possible for gecko ports to be buildable with
>> gcc44+ almost without any issues!
>> About 'almost' - it seems that thunderbird port still requires one small patch,
>> which is needed for dlopen(3) definition. The patch should be an effective NOP
>> for base gcc.
> Thanks for the patch. Have you applied some other modifications to the
> Thunderbird ports? With your patch I run into a linker error when
> compiling Thunderbird 3.0.7 and 3.1.3 with GCC 4.4.
Oh, yes. Do you get undefined symbols that should come either from libthr or libc?
I had to dump gcc44 specs file (-dumpspecs), then find a line that defines
pthread option expansion and add shared clause the same as !shared clause there.
And then I modified make.conf to use the new specs file for gcc44:
This is a problem that upstream GCC has incorrect specs for -pthread option.
To better see what I mean do:
$ gcc -dumpspecs | fgrep -w pthread
$ gcc44 -dumpspecs | fgrep -w pthread
More information about the freebsd-gecko