This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12413] New: 'symbol already defined' when building ICU 2.6 with Cygwin
- From: "ron_hylton at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2003 22:14:33 -0000
- Subject: [Bug c++/12413] New: 'symbol already defined' when building ICU 2.6 with Cygwin
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12413
Summary: 'symbol already defined' when building ICU 2.6 with
Cygwin
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ron_hylton at hotmail dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-cygwin
When building ICU 2.6 from http://oss.software.ibm.com/icu/ using Cygwin on
Windows 2000 I get the error:
strmatch.s:1914: Error: symbol `_N' is already defined
This code compiles under Visual Studio 7.1 & Comeau 4.3.
Details:
$ c++ -v -save-temps -D_REENTRANT -I. -I../common -D_REENTRANT -DHAVE_CONFIG_H
-DU_I18N_IMPLEMENTATION -c -DPIC -Wall -o strmatch.o strmatch.cpp
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /netrel/src/gcc-3.3.1-1/configure --enable-languages=c,c++,f77,
java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --wi
thout-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-v
ersion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-p
c-cygwin --target=i686-pc-cygwin --prefix=/usr --exec-prefix=/usr --sysconfdir=/
etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin
Thread model: posix
gcc version 3.3.1 (cygming special)
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/cc1plus.exe -E -D__GNUG__=3 -quiet -v -I.
-I../common -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=1 -D__CYGWIN3
2__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/gcc-lib/i686-pc-
cygwin/3.3.1/../../../../include/w32api -idirafter /usr/lib/gcc-lib/i686-pc-cygw
in/3.3.1/../../../../i686-pc-cygwin/lib/../../include/w32api -D_REENTRANT -D_REE
NTRANT -DHAVE_CONFIG_H -DU_I18N_IMPLEMENTATION -DPIC strmatch.cpp -Wall strmatch
.ii
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/i686-pc-cygwin/include"
ignoring duplicate directory "/usr/i686-pc-cygwin/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
.
../common
/usr/include/c++/3.3.1
/usr/include/c++/3.3.1/i686-pc-cygwin
/usr/include/c++/3.3.1/backward
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include
/usr/include
/usr/include/w32api
End of search list.
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/cc1plus.exe -fpreprocessed strmatch.ii -q
uiet -dumpbase strmatch.cpp -auxbase-strip strmatch.o -Wall -version -o strmatch
.s
GNU C++ version 3.3.1 (cygming special) (i686-pc-cygwin)
compiled by GNU C version 3.3.1 (cygming special).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=65410
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/as.exe --t
raditional-format -o strmatch.o strmatch.s
strmatch.s: Assembler messages:
strmatch.s:1914: Error: symbol `_N' is already defined
I have a .ii file which I can hopefully attach once the bug is posted.