linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #03161
[Bug 701391] Re: dcplusplus bzr rev 2390 fails to link in release mode with mingw g++ 4.5.2 and ld 2.21
Whilst I've used your patch.patch file and compiled BCDC++ 0.781 in
release mode using this mingw version without any visible issues, I'm
also wary; you're much more expert than I am about OpenSSL and it took
weeks for you to narrow down some edge-case stability problems. How did
you solve those and does doing what you suggested avoid those assuming I
got version 1.0.0c, matching DC++ 0.781, from
https://www.openssl.org/source/openssl-1.0.0c.tar.gz ?
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/701391
Title:
dcplusplus bzr rev 2390 fails to link in release mode with mingw g++
4.5.2 and ld 2.21
Status in DC++:
New
Bug description:
A reprise of my previous recent bug, but this time using http://mingw-
cross-env.nongnu.org/ as suggested. The current release is only still
gcc 4.5.1-based, but the development version at http://mingw-cross-
env.nongnu.org/#development is 4.5.2, which was claimed to have
worked. As with that bug, everything functions fine creating a debug
build. In release mode, however, my results are identical to before
(this time with a fresh local bzr branch):
% scons mode=release prefix=i686-pc-mingw32-
scons: Reading SConscript files ...
Checking for C++ header file htmlhelp.h... (cached) no
Checking for C++ header file natupnp.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
Linking build/release-mingw/bin/DCPlusPlus.exe (static)
/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.2/../../../../i686-pc-mingw32/lib/libmsvcrt.a(duyms00667.o):(.text+0x0): multiple definition of `_isxdigit'
build/release-mingw/dcpp/libdcpp.a(SimpleXMLReader.o):/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.2/../../../../i686-pc-mingw32/include/ctype.h:164: first defined here
collect2: ld returned 1 exit status
# collect2 4.98 3.50
scons: *** [build/release-mingw/bin/DCPlusPlus.exe] Error 1
scons: building terminated because of errors.
% i686-pc-mingw32-g++ --version
i686-pc-mingw32-g++ (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% i686-pc-mingw32-ld --version
GNU ld (GNU Binutils) 2.21
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
References