Bug 19688 - gcc-3.4.3 failed to compile on a Slackware Linux system
Summary: gcc-3.4.3 failed to compile on a Slackware Linux system
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 3.4.3
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 08:17 UTC by ICMan
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ICMan 2005-01-29 08:17:43 UTC
PROBLEM:
Compiling gcc 3.4.3 fails miserably.  I am not a sophisticated developer, just a
power user.  The most I can do when a package doesn't compile is make some minor
changes to header files or install the missing libraries.  I read your
bug-report instructions, and the giberish about preprocessor files and
re-compiling with --save-temps is to me exactly that... giberish.  If you need
more information than I have provided, send me the commands to run, and I will
happily gather the information for you.

COMMANDS USED:

mkdir gcc-build
../gcc-3.4.3/configure
make

LAST BIT OF OUTPUT (last compiler action):

/home/shane/Downloads/Unix/gcc-build/gcc/xgcc -shared-libgcc
-B/home/shane/Downloads/Unix/gcc-build/gcc/ -nostdinc++
-L/home/shane/Downloads/Unix/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/shane/Downloads/Unix/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem
/usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc-3.4.3/libjava -I./include -I./gcj -I../../../gcc-3.4.3/libjava
-Iinclude -I../../../gcc-3.4.3/libjava/include
-I/home/shane/Downloads/Unix/gcc-3.4.3/boehm-gc/include
-DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1
-DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1
-DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I../../../gcc-3.4.3/libjava/libltdl
-I../../../gcc-3.4.3/libjava/libltdl
-I../../../gcc-3.4.3/libjava/.././libjava/../gcc
-I../../../gcc-3.4.3/libjava/../zlib
-I../../../gcc-3.4.3/libjava/../libffi/include -I../libffi/include -O2 -g -O2
-fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum
-ffloat-store -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr/local\"
-DLIBDIR=\"/usr/local/lib\"
-DBOOT_CLASS_PATH=\"/usr/local/share/java/libgcj-3.4.3.jar\" -g -O2
-D_GNU_SOURCE -Wp,-MD,.deps/verify.pp -c ../../../gcc-3.4.3/libjava/verify.cc 
-fPIC -DPIC -o .libs/verify.o

FAILURE GENERATES:

../../../gcc-3.4.3/libjava/verify.cc:45: warning: unused parameter 'fmt'
xgcc: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [verify.lo] Error 1
make[2]: Leaving directory
`/home/shane/Downloads/Unix/gcc-build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/shane/Downloads/Unix/gcc-build/i686-pc-linux-gnu/libjava'
make: *** [all-target-libjava] Error 2

ENVIRONMENT:

gcc -v:

bash-2.05b# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2

uname -a:

bash-2.05b# uname -a
Linux tower 2.6.10 #4 Fri Jan 28 16:06:12 EST 2005 i686 unknown
Comment 1 Andrew Pinski 2005-01-29 12:50:48 UTC
xgcc: Internal error: Terminated (program cc1plus)
That means you ran out of memory while compiling.
Do you have swap enabled?

Also you should using "make bootstrap" and not just make as the directions in http://gcc.gnu.org/
install/ say to.
Comment 2 Andrew Pinski 2005-04-30 16:12:56 UTC
No feedback in 3 months.