libtool
[Top][All Lists]
Advanced

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

Re: Incorrect dependency on GLIBC_PRIVATE symbol, who to blame?


From: Paolo Bonzini
Subject: Re: Incorrect dependency on GLIBC_PRIVATE symbol, who to blame?
Date: Tue, 13 Oct 2009 13:35:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4

On 10/11/2009 11:41 AM, Kent Boortz wrote:
  (F) The linker, it should know about GLIBC_PRIVATE, and search for
      non private occurrences first, then if not found do another scan
      for private ones?

No, GLIBC_PRIVATE is not very different from ABC_XYZ from the linker's point-of-view. :-)

>  (A) Red Hat, the "/usr/lib/libunwind.la" should not have ' -lc -lgcc'
>      as a dependency, those are implicit and should never be in a
>      ".la", except maybe when building the compiler/linker itself?

Maybe.  Does hacking the libunwind.la fix it?

>  (C) Intel, SuSE has the exact same content of "libunwind.la", but
>      'postdeps' contains a "-lm" before "-lc", so should icc/icpc "-v"
>      on Red Hat?

You accidentally a part of the sentence, but anyway I do not think sprinkling -lm's is the right solution.

>  (G) Linux system devs, for defining that symbols twice?

That's very tricky indeed, but I think that part is fine as long as -lc is never given on the command line.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]