bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/10861] gold fails to link fuse user space library (multiple de


From: ian at airs dot com
Subject: [Bug gold/10861] gold fails to link fuse user space library (multiple definitions in same object)
Date: 30 Dec 2009 22:43:09 -0000

------- Additional Comments From ian at airs dot com  2009-12-30 22:43 -------
Thanks for the bug report.  The root problem here is that fuse_chan_new appears 
twice in the version script.  I can't think of any reasonable meaning for that, 
so I changed it to be an error.  gold now gives this when linking fuse 2.7.4:

/home/iant/binutils/gold-dir/ld: error: 'fuse_chan_new' appears in version 
script with both versions 'FUSE_2.4' and 'FUSE_2.6'
/home/iant/binutils/gold-dir/ld: error: .libs/fuse_session.o: multiple 
definition of 'fuse_chan_new'
/home/iant/binutils/gold-dir/ld: .libs/fuse_session.o: previous definition here
/home/iant/binutils/gold-dir/ld: error: symbol __fuse_exited has undefined 
version 

The last error is because of this line in lib/fuse.c:

FUSE_SYMVER(".symver fuse_exited,__fuse_exited@");

which appears to be missing a version string.

So think gold is now OK, and the remaining fixes should be done in fuse.  Those 
fixes will be appropriate for the GNU linker as well.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10861

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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