Hi Michael,

Michael Biebl wrote:

> I do maintain a package (lksctp-tools) which fails to build with
> binutils-gold.
> It uses a version script
> libsctp_la_LDFLAGS = -version-info 1:13:0 
> -Wl,--version-script=$(srcdir)/Versions.map
>
> The version script looks like [1]
[...]
>   CCLD   libsctp.la
> /usr/bin/ld: error: symbol sctp_connectx has undefined version 
> collect2: error: ld returned 1 exit status

Thanks for reporting.  Can you provide a minimal testcase?

That means:

 * source files (presumably one would be enough)
 * version script
 * object files corresponding to the source files and any libraries used
   (these are input files to "ld")
 * an "ld" command line to reproduce the problem

That should make this easier to diagnose and condense into a test
script to accompany a fix.

See /usr/share/bug/binutils/presubj for details.

Thanks,
Jonathan


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to