Bug 4783 - Cannot build with GNU ld version 2.9.5 (with BFD
Summary: Cannot build with GNU ld version 2.9.5 (with BFD
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.25b
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
Depends on:
Reported: 2007-07-12 04:27 UTC by Tomas C. Jensen
Modified: 2007-07-12 07:36 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas C. Jensen 2007-07-12 04:27:18 UTC
The configure script fails to detect that ld version 2.9.5 do not support --allow-shlib-undefined.
This might be true to other versions of ld.

This was tested on a SuSE Linux 7.0 runing kernel 2.2.16.

Output from ld -v was:
GNU ld version 2.9.5 (with BFD
Comment 1 Tomas C. Jensen 2007-07-12 07:36:37 UTC
when compiling with ld options LDSHFLAGS="-shared -Wl,-Bsymbolic"
the following happens:

 Linking bin/smbd
 modules/vfs_default.o: In function `vfswrap_linux_setlease':
 modules/vfs_default.o(.text+0x100c): undefined reference to  `linux_set_lease_sighandler'
 modules/vfs_default.o(.text+0x1021): undefined reference to `linux_setlease'
 collect2: ld returned 1 exit status
 make: *** [bin/smbd] Error 1