This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcc-ssa libmudflap] x86_64 build fix


On Jun  3, 2003, "Frank Ch. Eigler" <fche@redhat.com> wrote:

> That may be, but something associated with the sanity check fails to
> work on x86_64 (it ends up dropping deplibs); the "pass_all" method
> as used in libmudflap results in working programs.  I don't know/worry
> enough about this to come up with an alternate fix - suggestions?

Figure out which static library you're linking with, and make sure you
use a shared library in its stead.

>> Also, this code in acinclude.m4 is supposed to be taken from the
>> toplevel libtool.m4.  [...]

> (That would however preclude local hacks like mine.)

This hack is wrong, and you'll eventually run into link errors or,
worse, silent generation of broken binaries.  You don't want to do
that.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]