[Y-devel] Some patches for Re: Compile Problems on BSD

Andrew Suffield asuffield at debian.org
Mon Feb 23 15:55:55 GMT 2004


On Mon, Feb 23, 2004 at 11:45:19AM +0100, JP Dinger wrote:
> On Sun, Feb 22, 2004 at 10:53:15PM +0000, Andrew Suffield wrote:
> > On Sat, Feb 21, 2004 at 03:04:44PM +0100, JP Dinger wrote:
> > > Now I'm stuck with a problem in the Versions file in libYc++.
> > > /usr/libexec/elf/ld:./Versions:5: syntax error in VERSION script
> [snip][and it's been, well, worked around yesterday, see elsewhere in list]
> > 
> > Outdated version of binutils. Only vaguely recent ones support C++
> > libraries.
> 
> Then, can you please explain why killing the use of said file not only
> allows for the library to compile but also the clients that use libYc++
> to link?

The symbols are no longer versioned, so it's no longer a sane
library. Libraries with unversioned symbols do not behave sanely.

> This is with FreeBSD 4.9 using whatever comes with the base system (gcc
> 2.95.4-fbsd, ld 2.12.1-fbsd, and so on). I'll grant it's not the latest
> version, but fbsd 4.* isn't the only platform to still have gcc 2.95.* as
> system compiler (even some linuxes have that *gasp*) and that will remain
> so for some time to come. libsigc++ didn't seem to have a problem with it.

libsigc++ is legacy code (with enough problems of its own). I don't
think it's been converted to use versioned symbols yet.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  https://www.debian.org/ |
 `. `'                          |
   `-             -><-          |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040223/bdbe8f85/attachment.bin


More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved