[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#642128: gnat-4.6: fails to build spark on kfreebsd



Євгеній Мещеряков <eugen@debian.org> writes:
> 29 вересня 2011 о 20:15 +0200 Євгеній Мещеряков написав(-ла):
>> Hmm, that symbol looks global to me:
>> 
>> $ nm -D /lib/x86_64-kfreebsd-gnu/libpthread.so.0  | grep pthread_mutexattr_destroy
>> 0000000000007b70 T __pthread_mutexattr_destroy
>> 0000000000007b70 T pthread_mutexattr_destroy
>
> I can also build a C program:
[...]

Try removing the --gc-sections linker options, per [1].  It looks like
it is this option that triggers a bug in ld.  If this works, please
close the gnat-4.6 bug and check whether a corresponding bug is already
open against ld.

[1] https://lists.gnu.org/archive/html/bug-binutils/2011-09/msg00128.html

-- 
Ludovic Brenta.



Reply to: