* Build error
@ 2003-01-03 17:37 Pedro Manuel Augusto
2003-01-03 18:24 ` Jeff Sturm
0 siblings, 1 reply; 10+ messages in thread
From: Pedro Manuel Augusto @ 2003-01-03 17:37 UTC (permalink / raw)
To: gcc
Dear colleague,
I am trying to build GCC3.2 on a Solaris 2.7 machine. I get the following
error (last section of make bootstrap-lean output):
libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o
libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./unwind-dw2.o
libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so
&& ln -s libgcc_s.so.1 libgcc_s.so
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map: file format
not recognized; treating as linker script
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map:1: parse error
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/usr/local/gcc/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/usr/local/gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/local/gcc/gcc'
make: *** [bootstrap-lean] Error 2
bash-2.05#
What is wrong? How can I fix this?
Thanks for your help.
Sincerely,
Pedro Augusto
--------------------------------------------------------------------------
Dr. Pedro Augusto
Assistant Professor tel: +351 291 705150/8
Dep. Matematica fax: +351 291 705199
Universidade da Madeira
Caminho da Penteada
9000-390 Funchal
Portugal
--------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build error
2003-01-03 17:37 Build error Pedro Manuel Augusto
@ 2003-01-03 18:24 ` Jeff Sturm
2003-01-07 11:36 ` Pedro Manuel Augusto
0 siblings, 1 reply; 10+ messages in thread
From: Jeff Sturm @ 2003-01-03 18:24 UTC (permalink / raw)
To: Pedro Manuel Augusto; +Cc: gcc
On Fri, 3 Jan 2003, Pedro Manuel Augusto wrote:
> /usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map: file format
> not recognized; treating as linker script
You've configured for Sun btools, but gcc is finding and using binutils.
Either get rid of binutils, or configure gcc for it:
$srcdir/configure ... --with-as=$prefix/bin/as --with-ld=$prefix/bin/ld
--with-gnu-as --with-gnu-ld
Jeff
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build error
2003-01-03 18:24 ` Jeff Sturm
@ 2003-01-07 11:36 ` Pedro Manuel Augusto
0 siblings, 0 replies; 10+ messages in thread
From: Pedro Manuel Augusto @ 2003-01-07 11:36 UTC (permalink / raw)
To: Jeff Sturm; +Cc: gcc
Hi Jeff/GCC team,
On Fri, 3 Jan 2003, Jeff Sturm wrote:
> On Fri, 3 Jan 2003, Pedro Manuel Augusto wrote:
> > /usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map: file format
> > not recognized; treating as linker script
>
> You've configured for Sun btools, but gcc is finding and using binutils.
> Either get rid of binutils, or configure gcc for it:
>
> $srcdir/configure ... --with-as=$prefix/bin/as --with-ld=$prefix/bin/ld
> --with-gnu-as --with-gnu-ld
>
> Jeff
>
I believe I have done just that now:
/dados/packages/gcc-3.2/configure --with-as=/usr/local/sparc-sun-so
laris2.7/bin/as --with-ld=/usr/local/sparc-sun-solaris2.7/bin/ld
--with-gnu-as --with-gnu-ld
(now complaints; appeared to have configured successfully)
Then I did:
/usr/local/bin/make bootstrap-lean
(to make sure I use GNU make)
and now I get the error:
(last lines of output only)
o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o
libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o
libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o
libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o
libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o
libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o
libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o
libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o
libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o
libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc
&& rm -f libgcc_s.so && ln -s libgcc_s.so.1 libgcc_s.so
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map:4: parse error
in VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/usr/local/gcc/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/usr/local/gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/local/gcc/gcc'
make: *** [bootstrap-lean] Error 2
----
How to proceed? What to correct?
Thanks a lot for your help.
Cheers,
Pedro Augusto
--------------------------------------------------------------------------
Dr. Pedro Augusto
Assistant Professor tel: +351 291 705150/8
Dep. Matematica fax: +351 291 705199
Universidade da Madeira
Caminho da Penteada
9000-390 Funchal
Portugal
--------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* build error
@ 2006-10-17 14:45 bob_rossi
2006-10-17 22:27 ` Brian Dessent
0 siblings, 1 reply; 10+ messages in thread
From: bob_rossi @ 2006-10-17 14:45 UTC (permalink / raw)
To: gcc
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
Hi,
I just ran these commands:
svn -q checkout svn://gcc.gnu.org/svn/gcc/trunk gcc
mkdir builddir
cd builddir
CFLAGS="-g" ../gcc/configure --enable-languages=c,c++ --enable-checking \
--disable-bootstrap --prefix=$PWD/../prefixdir
make -s
make install
and I got the attached compile error. Is this a known issue on an
Althlon64 processor? Are there any work arounds?
Thanks,
Bob Rossi
[-- Attachment #2: out.txt --]
[-- Type: text/plain, Size: 21841 bytes --]
make[1]: Entering directory `/home/bob/source/svn/gcc/builddir'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/libiberty'
make[3]: Entering directory `/home/bob/source/svn/gcc/builddir/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bob/source/svn/gcc/builddir/libiberty/testsuite'
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/libiberty'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/fixincludes'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/intl'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/build-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory `/home/bob/source/svn/gcc/builddir/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bob/source/svn/gcc/builddir/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/build-x86_64-unknown-linux-gnu/libiberty'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/build-x86_64-unknown-linux-gnu/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/build-x86_64-unknown-linux-gnu/fixincludes'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/libcpp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/libcpp'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/libdecnumber'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/libdecnumber'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/gcc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/gcc'
Checking multilib configuration for libstdc++-v3...
Checking multilib configuration for libiberty...
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libiberty'
if [ -z "32" ]; then \
true; \
else \
rootpre=`${PWDCMD-pwd}`/; export rootpre; \
srcrootpre=`cd ../../../gcc/libiberty; ${PWDCMD-pwd}`/; export srcrootpre; \
lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="/home/bob/source/svn/gcc/builddir/./gcc/xgcc -B/home/bob/source/svn/gcc/builddir/./gcc/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/bin/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/lib/ -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/include -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/sys-include"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make "AR=ar" "AR_FLAGS=rc" "CC=/home/bob/source/svn/gcc/builddir/./gcc/xgcc -B/home/bob/source/svn/gcc/builddir/./gcc/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/bin/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/lib/ -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/include -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/sys-include" "CFLAGS=-O2 -g " "DESTDIR=" "LIBCFLAGS=-O2 -g " "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "LDFLAGS=" "LOADLIBES=" "RANLIB=ranlib" "SHELL=/bin/sh" "prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "exec_prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "libdir=/home/bob/source/svn/gcc/builddir/../prefixdir/lib" "libsubdir=" "tooldir=/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu" \
CFLAGS="-O2 -g ${flags}" \
CCASFLAGS=" ${flags}" \
FCFLAGS=" ${flags}" \
FFLAGS=" ${flags}" \
ADAFLAGS=" ${flags}" \
prefix="/home/bob/source/svn/gcc/builddir/../prefixdir" \
exec_prefix="/home/bob/source/svn/gcc/builddir/../prefixdir" \
GCJFLAGS=" ${flags}" \
CXXFLAGS="-g -O2 -D_GNU_SOURCE ${flags}" \
LIBCFLAGS="-O2 -g ${flags}" \
LIBCXXFLAGS="-g -O2 -D_GNU_SOURCE -fno-implicit-templates ${flags}" \
LDFLAGS=" ${flags}" \
MULTIFLAGS="${flags}" \
DESTDIR="" \
INSTALL="/usr/bin/install -c" \
INSTALL_DATA="/usr/bin/install -c -m 644" \
INSTALL_PROGRAM="/usr/bin/install -c" \
INSTALL_SCRIPT="/usr/bin/install -c" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[4]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libiberty'
make[5]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libiberty/testsuite'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libiberty/testsuite'
make[4]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libiberty'
make[3]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libiberty'
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libiberty'
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/home/bob/source/svn/gcc/builddir/./gcc/xgcc -B/home/bob/source/svn/gcc/builddir/./gcc/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/bin/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/lib/ -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/include -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/sys-include" "CFLAGS=-O2 -g " "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g" "CFLAGS_FOR_TARGET=-O2 -g " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2 -g " "LIBCFLAGS_FOR_TARGET=-O2 -g " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "infodir=/home/bob/source/svn/gcc/builddir/../prefixdir/info" "libdir=/home/bob/source/svn/gcc/builddir/../prefixdir/lib" "includedir=/home/bob/source/svn/gcc/builddir/../prefixdir/include" "prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "tooldir=/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu" "gxx_include_dir=/home/bob/source/svn/gcc/builddir/../prefixdir/include/c++/4.2.0" "AR=ar" "AS=/home/bob/source/svn/gcc/builddir/./gcc/as" "LD=/home/bob/source/svn/gcc/builddir/./gcc/collect-ld" "RANLIB=ranlib" "NM=/home/bob/source/svn/gcc/builddir/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" all-recursive
make[3]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3'
Making all in include
make[4]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/include'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/include'
Making all in libsupc++
make[4]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++'
Making all in libmath
make[4]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/libmath'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/libmath'
Making all in src
make[4]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/src'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/src'
Making all in po
make[4]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/po'
Making all in testsuite
make[4]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite'
make[4]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/home/bob/source/svn/gcc/builddir/./gcc/xgcc -B/home/bob/source/svn/gcc/builddir/./gcc/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/bin/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/lib/ -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/include -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/sys-include" "CFLAGS=-O2 -g " "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g" "CFLAGS_FOR_TARGET=-O2 -g " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2 -g " "LIBCFLAGS_FOR_TARGET=-O2 -g " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "infodir=/home/bob/source/svn/gcc/builddir/../prefixdir/info" "libdir=/home/bob/source/svn/gcc/builddir/../prefixdir/lib" "includedir=/home/bob/source/svn/gcc/builddir/../prefixdir/include" "prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "tooldir=/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu" "gxx_include_dir=/home/bob/source/svn/gcc/builddir/../prefixdir/include/c++/4.2.0" "AR=ar" "AS=/home/bob/source/svn/gcc/builddir/./gcc/as" "LD=/home/bob/source/svn/gcc/builddir/./gcc/collect-ld" "RANLIB=ranlib" "NM=/home/bob/source/svn/gcc/builddir/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=all multi-do # make
make[5]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3'
if [ -z "32" ]; then \
true; \
else \
rootpre=`${PWDCMD-pwd}`/; export rootpre; \
srcrootpre=`cd ../../../gcc/libstdc++-v3; ${PWDCMD-pwd}`/; export srcrootpre; \
lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="/home/bob/source/svn/gcc/builddir/./gcc/xgcc -B/home/bob/source/svn/gcc/builddir/./gcc/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/bin/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/lib/ -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/include -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/sys-include"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/home/bob/source/svn/gcc/builddir/./gcc/xgcc -B/home/bob/source/svn/gcc/builddir/./gcc/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/bin/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/lib/ -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/include -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/sys-include" "CFLAGS=-O2 -g " "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g" "CFLAGS_FOR_TARGET=-O2 -g " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2 -g " "LIBCFLAGS_FOR_TARGET=-O2 -g " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "infodir=/home/bob/source/svn/gcc/builddir/../prefixdir/info" "libdir=/home/bob/source/svn/gcc/builddir/../prefixdir/lib" "includedir=/home/bob/source/svn/gcc/builddir/../prefixdir/include" "prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "tooldir=/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu" "gxx_include_dir=/home/bob/source/svn/gcc/builddir/../prefixdir/include/c++/4.2.0" "AR=ar" "AS=/home/bob/source/svn/gcc/builddir/./gcc/as" "LD=/home/bob/source/svn/gcc/builddir/./gcc/collect-ld" "RANLIB=ranlib" "NM=/home/bob/source/svn/gcc/builddir/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" \
CFLAGS="-O2 -g ${flags}" \
CCASFLAGS=" ${flags}" \
FCFLAGS=" ${flags}" \
FFLAGS=" ${flags}" \
ADAFLAGS=" ${flags}" \
prefix="/home/bob/source/svn/gcc/builddir/../prefixdir" \
exec_prefix="/home/bob/source/svn/gcc/builddir/../prefixdir" \
GCJFLAGS=" ${flags}" \
CXXFLAGS="-g -O2 -D_GNU_SOURCE ${flags}" \
LIBCFLAGS="-O2 -g ${flags}" \
LIBCXXFLAGS="-g -O2 -D_GNU_SOURCE -fno-implicit-templates ${flags}" \
LDFLAGS=" ${flags}" \
MULTIFLAGS="${flags}" \
DESTDIR="" \
INSTALL="/usr/bin/install -c" \
INSTALL_DATA="/usr/bin/install -c -m 644" \
INSTALL_PROGRAM="/usr/bin/install -c" \
INSTALL_SCRIPT="/usr/bin/install -c" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[6]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/home/bob/source/svn/gcc/builddir/./gcc/xgcc -B/home/bob/source/svn/gcc/builddir/./gcc/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/bin/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/lib/ -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/include -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/sys-include" "CFLAGS=-O2 -g -m32" "CXXFLAGS=-g -O2 -D_GNU_SOURCE -m32" "CFLAGS_FOR_BUILD=-g" "CFLAGS_FOR_TARGET=-O2 -g " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-m32" "LIBCFLAGS=-O2 -g -m32" "LIBCFLAGS_FOR_TARGET=-O2 -g " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "infodir=/home/bob/source/svn/gcc/builddir/../prefixdir/info" "libdir=/home/bob/source/svn/gcc/builddir/../prefixdir/lib" "includedir=/home/bob/source/svn/gcc/builddir/../prefixdir/include" "prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "tooldir=/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu" "gxx_include_dir=/home/bob/source/svn/gcc/builddir/../prefixdir/include/c++/4.2.0" "AR=ar" "AS=/home/bob/source/svn/gcc/builddir/./gcc/as" "LD=/home/bob/source/svn/gcc/builddir/./gcc/collect-ld" "RANLIB=ranlib" "NM=/home/bob/source/svn/gcc/builddir/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" all-recursive
make[7]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3'
Making all in include
make[8]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/include'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/include'
Making all in libsupc++
make[8]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/libsupc++'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/libsupc++'
Making all in libmath
make[8]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/libmath'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/libmath'
Making all in src
make[8]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/src'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/src'
Making all in po
make[8]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/po'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/po'
Making all in testsuite
make[8]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/testsuite'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3/testsuite'
make[8]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/home/bob/source/svn/gcc/builddir/./gcc/xgcc -B/home/bob/source/svn/gcc/builddir/./gcc/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/bin/ -B/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/lib/ -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/include -isystem /home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu/sys-include" "CFLAGS=-O2 -g -m32" "CXXFLAGS=-g -O2 -D_GNU_SOURCE -m32" "CFLAGS_FOR_BUILD=-g" "CFLAGS_FOR_TARGET=-O2 -g " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-m32" "LIBCFLAGS=-O2 -g -m32" "LIBCFLAGS_FOR_TARGET=-O2 -g " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "infodir=/home/bob/source/svn/gcc/builddir/../prefixdir/info" "libdir=/home/bob/source/svn/gcc/builddir/../prefixdir/lib" "includedir=/home/bob/source/svn/gcc/builddir/../prefixdir/include" "prefix=/home/bob/source/svn/gcc/builddir/../prefixdir" "tooldir=/home/bob/source/svn/gcc/builddir/../prefixdir/x86_64-unknown-linux-gnu" "gxx_include_dir=/home/bob/source/svn/gcc/builddir/../prefixdir/include/c++/4.2.0" "AR=ar" "AS=/home/bob/source/svn/gcc/builddir/./gcc/as" "LD=/home/bob/source/svn/gcc/builddir/./gcc/collect-ld" "RANLIB=ranlib" "NM=/home/bob/source/svn/gcc/builddir/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=all multi-do # make
make[8]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3'
make[7]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3'
make[6]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/32/libstdc++-v3'
make[5]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3'
make[4]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3'
make[3]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3'
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libstdc++-v3'
Checking multilib configuration for libmudflap...
make[2]: Entering directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libmudflap'
Makefile:393: .deps/mf-heuristics.Plo: No such file or directory
Makefile:394: .deps/mf-hooks1.Plo: No such file or directory
Makefile:395: .deps/mf-hooks2.Plo: No such file or directory
Makefile:396: .deps/mf-runtime.Plo: No such file or directory
make[2]: *** No rule to make target `.deps/mf-runtime.Plo'. Stop.
make[2]: Leaving directory `/home/bob/source/svn/gcc/builddir/x86_64-unknown-linux-gnu/libmudflap'
make[1]: *** [all-target-libmudflap] Error 2
make[1]: Leaving directory `/home/bob/source/svn/gcc/builddir'
make: *** [all] Error 2
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: build error
2006-10-17 14:45 build error bob_rossi
@ 2006-10-17 22:27 ` Brian Dessent
0 siblings, 0 replies; 10+ messages in thread
From: Brian Dessent @ 2006-10-17 22:27 UTC (permalink / raw)
To: bob_rossi; +Cc: gcc
Consider posting this kind of question to gcc-help@ instead.
bob_rossi@cox.net wrote:
> I just ran these commands:
>
> svn -q checkout svn://gcc.gnu.org/svn/gcc/trunk gcc
> mkdir builddir
> cd builddir
> CFLAGS="-g" ../gcc/configure --enable-languages=c,c++ --enable-checking \
> --disable-bootstrap --prefix=$PWD/../prefixdir
> make -s
> make install
>
> and I got the attached compile error. Is this a known issue on an
> Althlon64 processor? Are there any work arounds?
I don't think it has anything to do with your processor, but the fact
that your build directory is a subdirectory of the source tree is
generally a no-no. See <http://gcc.gnu.org/install/configure.html>.
Brian
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: build error
@ 2006-10-18 13:38 bob_rossi
0 siblings, 0 replies; 10+ messages in thread
From: bob_rossi @ 2006-10-18 13:38 UTC (permalink / raw)
To: gcc; +Cc: Brian Dessent
---- Brian Dessent <brian@dessent.net> wrote:
>
> Consider posting this kind of question to gcc-help@ instead.
OK, I will.
> bob_rossi@cox.net wrote:
>
> > I just ran these commands:
> >
> > svn -q checkout svn://gcc.gnu.org/svn/gcc/trunk gcc
> > mkdir builddir
> > cd builddir
> > CFLAGS="-g" ../gcc/configure --enable-languages=c,c++ --enable-checking \
> > --disable-bootstrap --prefix=$PWD/../prefixdir
> > make -s
> > make install
> >
> > and I got the attached compile error. Is this a known issue on an
> > Althlon64 processor? Are there any work arounds?
>
> I don't think it has anything to do with your processor, but the fact
> that your build directory is a subdirectory of the source tree is
> generally a no-no. See <http://gcc.gnu.org/install/configure.html>.
>
> Brian
No, the build directory is not inside the source directory. The svn command
checks out a gcc/ directory. Then I make a builddir/ directory at the same
level as the gcc/ directory.
I tend to agree it's not a processor problem though. I had this exact configuration working on my ubunut box last week. My machine died, so I'm using a friend's gentoo box. This is the error I'm seeing now.
Thanks,
Bob Rossi
^ permalink raw reply [flat|nested] 10+ messages in thread
* build Error
@ 2007-02-23 14:09 sameer sinha
0 siblings, 0 replies; 10+ messages in thread
From: sameer sinha @ 2007-02-23 14:09 UTC (permalink / raw)
To: gcc
i am trying to build gcc-3.4.6
for that i untar gcc-ada-3.4.6 and gcc-core-3.4.6 in directory "/source"
and my build directory is not subdirectory of source directory
i got error like this:-
gcc -c -g -O2 -gnatpg -gnata -I- -I. -Iada
-I../../source/gcc-3.4.6/gcc/ada
../../source/gcc-3.4.6/gcc/ada/ali.adb -o ada/ali.o
fatal error: system.ads is incorrectly formatted
missing line for parameter: Preallocated_Stacks
compilation abandoned
make[1]: *** [ada/ali.o] Error 1
make[1]: Leaving directory
`/home/sameer/GCC_SOURCE_CODE/GCC-ADA/GCC-3.4.6/build/gcc'
make: *** [all-gcc] Error 2
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <l2x38f1d9be1005100303s856c766ek1a873b940dffc0b0@mail.gmail.com>]
end of thread, other threads:[~2010-05-12 11:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-03 17:37 Build error Pedro Manuel Augusto
2003-01-03 18:24 ` Jeff Sturm
2003-01-07 11:36 ` Pedro Manuel Augusto
2006-10-17 14:45 build error bob_rossi
2006-10-17 22:27 ` Brian Dessent
2006-10-18 13:38 bob_rossi
2007-02-23 14:09 build Error sameer sinha
[not found] <l2x38f1d9be1005100303s856c766ek1a873b940dffc0b0@mail.gmail.com>
[not found] ` <s2g38f1d9be1005100315m4447178en17af5c1b4b5e5318@mail.gmail.com>
[not found] ` <4BE7E328.70003@onetel.com>
[not found] ` <AANLkTikMn1UDfL_F5h6LChkSyQvvEH2bdyRK6acR2LCj@mail.gmail.com>
[not found] ` <AANLkTikEgxs7sGkQrdjZ46dUSiKAYaP490PznurOFMzo@mail.gmail.com>
[not found] ` <AANLkTilNW9hv8_oWW4VTj4YWum2IqJoGM3VB1uCRFn1Z@mail.gmail.com>
2010-05-11 13:00 ` Build Error Diego Novillo
2010-05-11 14:25 ` Sandeep Soni
2010-05-12 11:56 ` mike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).