delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/09/03:41:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: binutils 20021107-2
From: Robert Collins <rbcollins AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Date: 09 Nov 2002 19:40:51 +1100
Message-Id: <1036831251.28894.4.camel@lifelesswks>
Mime-Version: 1.0

--=-1ZK0vkqJ0k0JaGl29hbk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hmm, a new ?bug? in binutils:

Linking a g++-2 compiled program, with a g++-2 compiled dll


(line breaks and blank lines added for clarity)

RobertC AT LIFELESSAMD ~/src/barch/build
 make
/bin/bash ./libtool --mode=3Dlink g++-2  -g -O2   -o get-archive-name.exe
src/get-archive-name.o src/Archive.la
/usr/local/lib/libgetopt++.la -lm -lboost_regex

g++-2 -g -O2 -o get-archive-name.exe src/get-archive-name.o
src/.libs/Archive.a  -L/usr/lib -L/usr/lib/w32api
 -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-10 -lgcc
-lgcc -lgcc -lgcc -lgcc -lgcc -lgcc -lgcc -lgcc -lgcc -lgcc -lgcc
/usr/local/lib /libgetopt++.dll.a -lstdc++-2 -lgcc -lcygwin=20
-luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc -lboost_regex=20
-L/usr/local/lib -L/usr/local/lib

/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-10/libstdc++-2.a(filebuf.o)(.text
+0x2a8):
filebuf.cc: multiple definition of `filebuf::~filebuf(void)'
/usr/local/lib/libgetopt++.dll.a(d000031.o)(.text+0x0): first defined
here
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-10/libstdc++-2.a(streambuf.o)
(.text+0x35c):streambuf.cc: multiple definition of `streambuf::sungetc(void=
)'
/usr/local/lib/libgetopt++.dll.a(d000485.o)(.text+0x0): first defined
here
collect2: ld returned 1 exit status
make: *** [get-archive-name.exe] Error 1

=20
--=20
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

--=-1ZK0vkqJ0k0JaGl29hbk
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9zMoTI5+kQ8LJcoIRAqJeAJ9+gaa9DtgQJiHrNg3GpYds3knq5gCcCQM6
4ObMO3nskGhKxT+gIAC2m8I=
=JB+V
-----END PGP SIGNATURE-----

--=-1ZK0vkqJ0k0JaGl29hbk--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019