This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bootstrap/10198: gcc -3.2.2 and gcc-3_2-branch fail to build cygwin->linux cross compiler


>Number:         10198
>Category:       bootstrap
>Synopsis:       gcc -3.2.2 and gcc-3_2-branch fail to build cygwin->linux cross compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 24 02:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     garen at wsu dot edu
>Release:        3.2.2 / 3_2-branch
>Organization:
>Environment:
Cygwin 1.3.22-1
>Description:
Compile bombs out with this error:

../../../gcc-3.2.2-r2/gcc/fixinc/gnu-regex.c: In function `compile_range':
../../../gcc-3.2.2-r2/gcc/fixinc/gnu-regex.c:3051: warning: signed and unsigned
type in conditional expression
../../../gcc-3.2.2-r2/gcc/fixinc/gnu-regex.c:3051: warning: signed and unsigned
type in conditional expression
../../../gcc-3.2.2-r2/gcc/fixinc/gnu-regex.c: In function `regerror':
../../../gcc-3.2.2-r2/gcc/fixinc/gnu-regex.c:5723: warning: implicit declaration
 of function `__mempcpy'
gcc -DIN_GCC -DHAVE_CONFIG_H -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long
-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-protot
ypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -I. -I.. -I../.
./../gcc-3.2.2-r2/gcc/fixinc -I../../../gcc-3.2.2-r2/gcc/fixinc/.. -I../../../gc
c-3.2.2-r2/gcc/fixinc/../config -I../../../gcc-3.2.2-r2/gcc/fixinc/../../include
  -o fixincl.exe fixincl.o fixtests.o fixfixes.o server.o procopen.o gnu-regex.o
 fixlib.o ../../libiberty/libiberty.a
gnu-regex.o(.text+0x6556): In function `regerror':
/home/Icheb/gccbuild/gcc/fixinc/../../../gcc-3.2.2-r2/gcc/fixinc/gnu-regex.c:572
3: undefined reference to `___mempcpy'
collect2: ld returned 1 exit status
make[2]: *** [full-stamp] Error 1
make[2]: Leaving directory `/home/Icheb/gccbuild/gcc/fixinc'
make[1]: *** [fixinc.sh] Error 2
make[1]: *** Waiting for unfinished jobs....
mv tmp-libgcc.mk libgcc.mk
make[1]: Leaving directory `/home/Icheb/gccbuild/gcc'
make: *** [all-gcc] Error 2
>How-To-Repeat:
tar xjvf gcc-3.2.2.tar.bz2
mkdir gccbuild
cd gccbuild
../gcc-3.2.2/configure --target=i686-pc-linux-gnu --enable-shared --enable-languages=c,c++ --enable-long-long --enable-threads=posix
make -j4
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]