on 13/09/2010 12:30 Beat Gaetzi said the following:
> Hi,
> 
> 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:
CFLAGS+=        -specs=/home/avg/devel/gcc/gcc44.specs

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
and
$ gcc44 -dumpspecs | fgrep -w pthread

-- 
Andriy Gapon
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to