Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11305 - update from gcc 3.2-r4 to gcc 3.2.1 is failing
Summary: update from gcc 3.2-r4 to gcc 3.2.1 is failing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-27 10:58 UTC by Volker Hemmann
Modified: 2003-01-28 00:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2002-11-27 10:58:52 UTC
Hi, 
 
When I try to emerge gcc 3.2.1 via emerge -u gcc the installation fails with this output: 
libbackend.a(combine.o)(.text+0x6990): In function `simplify_if_then_else': 
: undefined reference to `side_effects_p' 
libbackend.a(combine.o)(.text+0x69d8): In function `simplify_if_then_else': 
: undefined reference to `simplify_gen_unary' 
 
<snip a lot of 'undefined reference'> 
 
libbackend.a(reg-stack.o)(.text+0x22c2): In function `subst_stack_regs_pat': 
: undefined reference to `find_regno_note' 
libbackend.a(reg-stack.o)(.text+0x22e3): more undefined references to 
`find_regno_note' follow 
libbackend.a(reg-stack.o)(.text+0x29ab): In function `subst_asm_stack_regs': 
: undefined reference to `operands_match_p' 
libbackend.a(reg-stack.o)(.text+0x30f4): In function `convert_regs_exit': 
: undefined reference to `current_function_decl' 
libbackend.a(reg-stack.o)(.text+0x3b40): In function `convert_regs': 
: undefined reference to `fixup_abnormal_edges' 
libbackend.a(doloop.o)(.text+0x910): In function `doloop_modify_runtime': 
: undefined reference to `exact_log2_wide' 
libbackend.a(doloop.o)(.text+0xb66): In function `doloop_optimize': 
: undefined reference to `precondition_loop_p' 
libbackend.a(doloop.o)(.text+0xbc0): In function `doloop_optimize': 
: undefined reference to `find_reg_note' 
collect2: ld returned 1 exit status 
make[2]: *** [cc1] Fehler 1 
make[2]: *** Warte auf noch nicht beendete Prozesse... 
Applying machine_name             to DPS/dpsconfig.h 
Applying machine_name             to SDL/SDL_syswm.h 
Applying io_quotes_def            to SDL/SDL_version.h 
Applying machine_name             to SDL/SDL_endian.h 
Fixed:  SDL/SDL_endian.h 
Quoted includes in SDL/SDL_endian.h 
Applying io_quotes_def            to SDL/SDL_mixer.h 
Applying io_quotes_def            to asm/apicdef.h 
Applying io_quotes_use            to asm/mtrr.h 
Applying io_quotes_use            to sys/raw.h 
Applying io_quotes_use            to sys/mount.h 
Applying strict_ansi_not          to gmp.h 
Fixed:  gmp.h 
Applying io_quotes_def            to linux/mtd/compatmac.h 
Applying io_quotes_use            to linux/dn.h 
Applying io_quotes_use            to linux/fd.h 
Applying io_quotes_use            to linux/fs.h 
Applying io_quotes_use            to linux/raid/md_u.h 
Applying io_quotes_use            to linux/umsdos_fs.h 
Applying io_quotes_use            to linux/elevator.h 
Applying io_quotes_use            to linux/atmbr2684.h 
Applying io_quotes_def            to linux/wanrouter.h 
Applying io_quotes_def            to linux/i2c.h 
Applying io_quotes_use            to linux/lvm.h 
Applying io_quotes_use            to linux/nbd.h 
Applying avoid_wchar_t_type       to linux/nls.h 
Fixed:  linux/nls.h 
Applying io_quotes_use            to linux/raw.h 
Applying io_quotes_use            to linux/auto_fs4.h 
Applying io_quotes_use            to linux/i2o-dev.h 
Applying io_quotes_use            to linux/if_pppox.h 
Applying io_quotes_def            to linux/ppp-comp.h 
Applying io_quotes_def            to linux/completion.h 
Applying io_quotes_def            to linux/soundcard.h 
Applying io_quotes_def            to linux/netfilter_ipv4/ip_conntrack_tuple.h 
Applying io_quotes_use            to linux/ite_gpio.h 
Applying io_quotes_def            to linux/wanpipe.h 
Applying io_quotes_def            to linux/sdladrv.h 
Applying io_quotes_def            to linux/isapnp.h 
Applying io_quotes_use            to linux/random.h 
Applying io_quotes_use            to linux/jffs.h 
Applying io_quotes_use            to linux/agpgart.h 
Applying io_quotes_def            to linux/reiserfs_fs_sb.h 
Applying io_quotes_use            to linux/auto_fs.h 
Applying io_quotes_use            to linux/watchdog.h 
Applying io_quotes_use            to linux/reiserfs_fs.h 
Applying io_quotes_def            to linux/modsetver.h 
Applying io_quotes_use            to linux/cciss_ioctl.h 
Applying io_quotes_use            to linux/blkpg.h 
Applying io_quotes_use            to linux/synclink.h 
Applying machine_name             to linux/a.out.h 
Fixed:  linux/a.out.h 
Applying io_quotes_def            to linux/version.h 
Applying io_quotes_use            to linux/input.h 
Applying io_quotes_use            to linux/ppdev.h 
Applying io_quotes_use            to linux/devfs_fs.h 
Applying io_quotes_def            to smpeg/smpeg.h 
Applying io_quotes_use            to sound/asequencer.h 
Applying io_quotes_use            to sound/asound.h 
Applying io_quotes_def            to orbit-1.0/IIOP/IIOP-types.h 
Applying machine_name             to zconf.h 
Fixed:  zconf.h 
Applying machine_name             to w3c-libwww/wwwsys.h 
Fixed:  w3c-libwww/wwwsys.h 
Quoted includes in w3c-libwww/wwwsys.h 
Applying machine_name             to slang.h 
Fixed:  slang.h 
Applying io_quotes_def            to libIDL-1.0/libIDL/IDL.h 
Applying io_quotes_use            to libIDL-1.0/libIDL/IDL.h 
Applying sun_malloc               to malloc.h 
Applying avoid_wchar_t_type       to curses.h 
Fixed:  curses.h 
Applying stdio_va_list            to stdio.h 
Fixed:  stdio.h 
Applying avoid_wchar_t_type       to ncurses.h 
Fixed:  ncurses.h 
Applying hpux8_bogus_inlines      to math.h 
Applying machine_name             to libmng_types.h 
Fixed:  libmng_types.h 
Quoted includes in libmng_types.h 
Applying io_quotes_def            to allegro/platform/alwatcom.h 
Applying io_quotes_def            to allegro/platform/almaccfg.h 
Applying io_quotes_def            to allegro/platform/aldjgpp.h 
Applying io_quotes_def            to allegro/internal/alconfig.h 
Applying io_quotes_def            to paragui/paraconfig.h 
Applying machine_name             to openssl/bn.h 
Fixed:  openssl/bn.h 
Applying ctrl_quotes_def          to readline/chardefs.h 
Applying sysv68_string            to string.h 
Applying limits_ifndefs           to limits.h 
Applying io_quotes_def            to cdda_interface.h 
Fixing directory /usr/include/GL into 
/var/tmp/portage/gcc-3.2.1/work/build/gcc/include/root/usr/X11R6/include/GL 
Fixing directory /usr/include/X11 into 
/var/tmp/portage/gcc-3.2.1/work/build/gcc/include/root/usr/X11R6/include/X11 
Applying io_quotes_def            to X11/Xmu/Atoms.h 
Applying machine_name             to X11/Xos.h 
Fixed:  X11/Xos.h 
Applying machine_name             to X11/Xarch.h 
Fixed:  X11/Xarch.h 
Applying avoid_wchar_t_type       to X11/Xlib.h 
Fixed:  X11/Xlib.h 
Applying machine_name             to X11/Xos_r.h 
Fixed:  X11/Xos_r.h 
Applying machine_name             to X11/Xosdefs.h 
Fixed:  X11/Xosdefs.h 
Applying machine_name             to X11/Xthreads.h 
Fixed:  X11/Xthreads.h 
Cleaning up unneeded directories: 
fixincludes is done 
if [ "/usr/include" = "/usr/i686-pc-linux-gnu/sys-include" ] \ 
   && [ -d /usr/i686-pc-linux-gnu/sys-include ]; then \ 
  if [ -d /usr/lib ] ; then true ; else mkdir /usr/lib ; fi; \ 
  if [ -d /usr/lib/gcc-lib ] ; then true ; else mkdir /usr/lib/gcc-lib; fi; \ 
  if [ -d /usr/lib/gcc-lib/i686-pc-linux-gnu ] ; then true ; else mkdir 
/usr/lib/gcc-lib/i686-pc-linux-gnu ; fi; \ 
  if [ -d /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 ] ; then true ; else mkdir 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 ; fi; \ 
else true; fi 
make[2]: *** Warte auf noch nicht beendete Prozesse... 
echo timestamp > stmp-fixinc 
make[2]: *** Warte auf noch nicht beendete Prozesse... 
make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.1/work/build/gcc' 
make[1]: *** [stage1_build] Fehler 2 
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.1/work/build/gcc' 
make: *** [bootstrap-lean] Fehler 2 
 
!!! ERROR: sys-devel/gcc-3.2.1 failed. 
!!! Function src_compile, Line 206, Exitcode 2 
!!! (no error message) 
 
Portage is 2.0.44 
glibc is 2.3.1-r2  
 
CPU is an underclocked (!) Athlon XP.
Comment 1 Volker Hemmann 2002-12-04 20:32:19 UTC
Workaround: 
I just unmasked gcc 3.2.1-r5 emerged it with emerge -u gcc. 
After that i masked gc c3.2.1-r5 again and emerged gcc 3.2.1 with emerge -u gcc 
again. 
 
This time the emerging went flawlessly. 
 
 
 
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-14 00:11:06 UTC
assigned
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-14 00:30:24 UTC
i haven't been able to reproduce this in two scenarios:

   1. from gcc3.2 to 3.2.1 on a new box (at install)

   2. from gcc3.2 to 3.2.1