This is the mail archive of the gcc@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]

VA_OPEN unresolved error


I've recently started getting these failures rebuilding gcc from cvs.
These errors are after a successful make bootstrap and make install.
Both gcc-3_3-branch and the trunk fail in the same place, always with
the use of the VA_OPEN macro, giving the undefined reference to
__builtin_va_start that you see below.  Searching for the error
hasn't turned up anything. Configured with

../gcc/configure --prefix=$HOME/gcctest --enable-languages=c,c++

Has anyone seen this before?



dps10 gcc-build $ make.real
make.real[1]: Entering directory `/home/billyoc/gcc-build/libiberty'
make.real[2]: Entering directory `/home/billyoc/gcc-build/libiberty/testsuite'
make.real[2]: Nothing to be done for `all'.
make.real[2]: Leaving directory `/home/billyoc/gcc-build/libiberty/testsuite'
make.real[1]: Leaving directory `/home/billyoc/gcc-build/libiberty'
make.real[1]: Entering directory `/home/billyoc/gcc-build/gcc'
gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genconditions \
 genconditions.o gensupport.o dummy-conditions.o rtl.o read-rtl.o bitmap.o ggc-none.o \
    errors.o ../libiberty/libiberty.a
gensupport.o: In function `message_with_line':
/home/billyoc/../../gcc/gcc/gensupport.c:110: undefined reference to `__builtin_va_start'
read-rtl.o: In function `fatal_with_file_and_line':
/home/billyoc/../../gcc/gcc/read-rtl.c:58: undefined reference to `__builtin_va_start'
errors.o: In function `warning':
/home/billyoc/../../gcc/gcc/errors.c:42: undefined reference to `__builtin_va_start'
errors.o: In function `error':
/home/billyoc/../../gcc/gcc/errors.c:57: undefined reference to `__builtin_va_start'
errors.o: In function `fatal':
/home/billyoc/../../gcc/gcc/errors.c:74: undefined reference to `__builtin_va_start'
errors.o:/home/billyoc/../../gcc/gcc/errors.c:89: more undefined references to `__builtin_va_start' follow
collect2: ld returned 1 exit status
make.real[1]: *** [genconditions] Error 1
make.real[1]: Leaving directory `/home/billyoc/gcc-build/gcc'
make.real: *** [all-gcc] Error 2

-- 
Billy O'Connor
Editor, Beyond Linux From Scratch   http://beyond.linuxfromscratch.org
"Free software never simply picks up its marbles and goes home."
      - Jonathan Corbet, LWN


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