Package: gcc-4.0
Severity: serious
Justification: no longer builds from source

Hello,

I am trying to compile gcc-4.0 on Ubuntu, so I can recompile the
latest openoffice.org2 package.

However, I get different errors each time. I don't think these are ubuntu
specific. If you consider this the wrong forum for such bug reports, please let
me know.

Rather then not include enough details, I will give everything I still have
just in case it helps.

The 1st compile attempt I got the following error:

--- cut ---
stage2/xgcc -Bstage2/ -B/usr/i486-linux-gnu/bin/ -c   -O2 -DIN_GCC   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long -Wno-variadic-macros -Wold-style-definition     -DHAVE_CONFIG_H  
  -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include 
-I../../src/gcc/../libcpp/include  ../../src/gcc/predict.c -o predict.o
../../src/gcc/predict.c: In function 'estimate_loops_at_level':
../../src/gcc/predict.c:1705: internal compiler error: in lower_stmt, at 
gimple-low.c:206
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[4]: *** [predict.o] Error 1
make[4]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.0ds1/build/gcc'
make[3]: *** [stage3_build] Error 2
make[3]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.0ds1/build/gcc'
make[2]: *** [bootstrap] Error 2
make[2]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.0ds1/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.0ds1'
make: *** [stamps/05-build-stamp] Error 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//27869 and its 
subdirectories
--- cut ---

At first, this looked like the bug reported at
<URL:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16254>, however, this bug is
meant to have been fixed already.

Using a new clean pbuilder ubuntu hoary chroot, I attempted the same operation
again, and got a different error. This leaves me very puzzled if it is the same
bug or a new bug (I apologise if you think I should have opened two bug
reports). This time I got the following output:

--- cut ---
stage2/xgcc -Bstage2/ -B/usr/i486-linux-gnu/bin/ -c   -O2 -DIN_GCC   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long -Wno-variadic-macros -Wold-style-definition     -DHAVE_CONFIG_H  
  -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include 
-I../../src/gcc/../libcpp/include  ../../src/gcc/cp/pt.c -o cp/pt.o
../../src/gcc/cp/pt.c: In function 'tsubst':
../../src/gcc/cp/pt.c:6901: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[4]: *** [cp/pt.o] Error 1
make[4]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.0ds1/build/gcc'
make[3]: *** [stage3_build] Error 2
make[3]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.0ds1/build/gcc'
make[2]: *** [bootstrap] Error 2
make[2]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.0ds1/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.0ds1'
make: *** [stamps/05-build-stamp] Error 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//13539 and its 
subdirectories
--- cut ---

Any work arounds appreciated.

Thanks

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to