Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35637 - emerge gpc-2.1 fails
Summary: emerge gpc-2.1 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-11 19:14 UTC by kahuna
Modified: 2003-12-11 19:44 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 kahuna 2003-12-11 19:14:11 UTC
I tried to emerge GNU Pascal compiler 2.1, but, all fails. I'm running Gentoo Linux 1.4 stable.

gpc-2.1 needs gcc-2.95 which is masked, but I tried to emerge it anyway. 
 
Well emerging gcc-2.95 I have no problem, but here comes the error with gpc-2-1:


make[2]: Entering directory `/var/tmp/portage/gpc-2.1/work/gcc-2.95.3/gcc/p'
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../convert.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../dbxout.c
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ./sys-types.h ./sys-protos.h > SYSCALLS.c
/var/tmp/portage/gpc-2.1/work/gcc-2.95.3/gcc/xgcc -B/var/tmp/portage/gpc-2.1/work/gcc-2.95.3/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -I/usr/i686-pc-linux-gnu/include  -DIN_GCC     -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -I./include     -I. -I. -I./config -I./../include \
  -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
cc1: bad value (athlon-tbird) for -march= switch
make[1]: *** [SYSCALLS.c.X] Error 1
make[1]: *** Se espera a que terminen otras tareas....
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../expr.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../fold-const.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../function.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../optabs.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../stor-layout.c
gcc  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include \
    \
  -DTARGET_NAME=\"i686-pc-linux-gnu\" \
  -c ./../toplev.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../tree.c
../toplev.c:1179: aviso: asignaci
Comment 1 kahuna 2003-12-11 19:14:11 UTC
I tried to emerge GNU Pascal compiler 2.1, but, all fails. I'm running Gentoo Linux 1.4 stable.

gpc-2.1 needs gcc-2.95 which is masked, but I tried to emerge it anyway. 
 
Well emerging gcc-2.95 I have no problem, but here comes the error with gpc-2-1:


make[2]: Entering directory `/var/tmp/portage/gpc-2.1/work/gcc-2.95.3/gcc/p'
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../convert.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../dbxout.c
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ./sys-types.h ./sys-protos.h > SYSCALLS.c
/var/tmp/portage/gpc-2.1/work/gcc-2.95.3/gcc/xgcc -B/var/tmp/portage/gpc-2.1/work/gcc-2.95.3/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -I/usr/i686-pc-linux-gnu/include  -DIN_GCC     -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -I./include     -I. -I. -I./config -I./../include \
  -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
cc1: bad value (athlon-tbird) for -march= switch
make[1]: *** [SYSCALLS.c.X] Error 1
make[1]: *** Se espera a que terminen otras tareas....
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../expr.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../fold-const.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../function.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../optabs.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../stor-layout.c
gcc  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include \
    \
  -DTARGET_NAME=\"i686-pc-linux-gnu\" \
  -c ./../toplev.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -I. -I.. -I. -I./.. -I./../config -I./../../include ./../tree.c
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
../toplev.c:1179: aviso: asignación de valores iniciales de tipo de apuntador incompatible
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include gpc-common.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include gpc-decl.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include lang.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include -Wno-char-subscripts gpc-lex.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include gpc-typeck.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include module.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include objects.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include  ./parse.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include rtscall.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include types.c
gcc -c  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer      -Wall -Wmissing-prototypes -I. -I.. -I. -I./.. -I./../config -I./../../include \
-DRTS_RELEASE_STRING='"__GPC_RTS_VERSION_'"`cat ./rts/rts-version`"'__"' util.c
echo " `cat ../stamp-objlist | sed -e 's:  : :g' -e 's:../convert.o::g' -e 's:../dbxout.o::g' -e 's:../expr.o::g' -e 's:../fold-const.o::g' -e 's:../function.o::g' -e 's:../optabs.o::g' -e 's:../stor-layout.o::g' -e 's:../toplev.o::g' -e 's:../tree.o::g'` convert.o dbxout.o expr.o fold-const.o function.o optabs.o stor-layout.o toplev.o tree.o" >stamp-gbe
rm -f ../gpc1
gcc  -DIN_GCC -DGPC   -march=athlon-tbird -O2 -pipe -fomit-frame-pointer   -Wall -Wmissing-prototypes  -o ../gpc1 \
      `cat stamp-gbe` ../c-aux-info.o ../c-iterate.o ../c-pragma.o  gpc-common.o gpc-decl.o lang.o gpc-lex.o gpc-typeck.o module.o objects.o parse.o rtscall.o types.o util.o `if [ xobstack.o != x ]; then echo ../obstack.o; else true; fi` `case "gcc" in "cc") if [ x != x ]; then echo ../; else true; fi ;; esac` `if [ x != x ]; then echo ../; else true; fi`  ../../libiberty/libiberty.a
../../libiberty/libiberty.a(choose-temp.o)(.text+0x11e): En la función `choose_temp_base':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
make[2]: Leaving directory `/var/tmp/portage/gpc-2.1/work/gcc-2.95.3/gcc/p'
make[1]: Leaving directory `/var/tmp/portage/gpc-2.1/work/gcc-2.95.3/gcc'
make: *** [all-gcc] Error 2
 
!!! ERROR: dev-lang/gpc-2.1 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)
 
I tried to emerge gpc-20030209 but I've a problem: 

root@PERSEUS gcc # emerge /usr/portage/dev-lang/gpc/gpc-20030209.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lang/gpc-20030209 to /
>>> md5 src_uri ;-) gpc-20030209.tar.gz
 
!!! No message digest entry found for file "gcc-3.2.3.tar.bz2."
!!! Most likely a temporary problem. Try 'emerge rsync' again later.
!!! If you are certain of the authenticity of the file then you may type
!!! the following to generate a new digest:
!!!   ebuild /usr/portage/category/package/package-version.ebuild digest

Thanks.
 


Reproducible: Always
Steps to Reproduce:
1. emerge gpc-2.1
2.
3.

Actual Results:  
emerge fails


This is my emerge --info:

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="libwww mikmod berkdb readline ssl imlib X gtk mozsvg libg++ arts flash
vim-with-x gnome alsa gtk2 3dnow gpm motif aalib acl apache2 apm avi bonobo
canna cdr cjk crypt cups dedicated dga directfb dvb dvd dvdr emacs emacs-w3
encode esd ethereal evo fbcon foomaticdb freewnn gb gd gdbm gif gtkhtml icc ipv6
java joystick jpeg kde leim libgda mad mmx mozilla mpeg mpi mysql ncurses nls
opengl oggvorbis oss pam ppds pdflib python png pnp perl qt quicktime samba sasl
sdl slang slp spell svga tcltk tcpd tiff truetype gphoto2 unicode usb videos
wxwindows xinerama xosd xmms xml xml2 zlib x86 xv nas pcmcia"
Comment 2 SpanKY gentoo-dev 2003-12-11 19:44:55 UTC
cc1: bad value (athlon-tbird) for -march= switch

you cant use all gcc3 flags with gcc2