View previous topic :: View next topic |
Author |
Message |
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Thu Feb 03, 2005 12:51 am Post subject: |
|
|
Well its out allready and Im at gcc 3.4.3-r something but gcc -v shows gcc 3.4.4 . I only know this becuse I was watching the build. Its not added to /etc/env.d/gcc/ so it doesnt show up in gcc-config but it is there at /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.4 . So I added it to /etc/env.d/gcc ran fix_libtool_files.sh 3.4.3 && env-update && . /etc/profile. That gave me a non-working compilier. So gcc-config back to 3.4.3 . The big probs is that libstdc** is in the 3.4.4 /usr/lib.....
NOw if I can only figure out why "size of size_t" is not working maybe I;ll get my system Back on line this pockin year _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
|
Back to top |
|
|
kmare l33t
Joined: 20 Nov 2004 Posts: 619 Location: Thessaloniki, Greece
|
Posted: Thu Feb 03, 2005 4:13 am Post subject: |
|
|
it's fixed in cvs... just emerge --sync again... it worked for me. |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Fri Feb 04, 2005 4:59 pm Post subject: |
|
|
Yeah I found that out first thing yesterday. Went back to gcc-3.4.3.2005whatever. Everhting appesred to working fine till one of the scripts ran sed and it couldnt find /usr/lib/..../3.4.4/libstdc++ since the directory was gone, sigh. I ask you how do you run fix_libtool_files.sh on 3.4.4 when its gone Well running fix.. on 3.3.4 and 3.4.3 didnt work so I linked /usr/lib.../3.4.3 to /usr/lib/.../3.4.4. Its probably not kosher but its working. Off to do battle with abiword gnumeric mplayer _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
imrambi Tux's lil' helper
Joined: 12 Feb 2004 Posts: 116
|
Posted: Fri Feb 11, 2005 3:11 pm Post subject: |
|
|
I'm getting the following error. I've tried USE="bootstrap" with no luck.
Code: | if [ x"-fpic" != x ]; then \
/var/tmp/portage/gcc-3.4.3.20050110/work/build/gcc/xgcc -B/var/tmp/portage/gcc-3.4.3.20050110/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -c -DHAVE_CONFIG_H -O2 -O2 -march=i686 -pipe -fprefetch-loop-arrays -I. -I/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/../include -W -Wall -Wtraditional -pedantic -fpic /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:1: warning: -fprefetch-loop-arrays not supported for this target (try -march switches)
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:55: error: conflicting types for 'malloc'
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:55: error: conflicting types for 'malloc'
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c: In function `code_for_qualifier':
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:630: warning: implicit declaration of function `abort'
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c: In function `squangle_mop_up':
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:1154: warning: implicit declaration of function `free'
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c: In function `demangle_qualified':
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:3310: warning: implicit declaration of function `atoi'
make[2]: *** [cplus-dem.o] Error 1
make[2]: Leaving directory `/mnt/files/tmp/portage/gcc-3.4.3.20050110/work/build/i686-pc-linux-gnu/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/mnt/files/tmp/portage/gcc-3.4.3.20050110/work/build'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-3.4.3.20050110 failed.
!!! Function gcc_do_make, Line 1092, Exitcode 2
!!! make failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
|
I can compile other programs fine, but this is limiting some updates. |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Fri Feb 11, 2005 4:40 pm Post subject: |
|
|
imrambi wrote: | I'm getting the following error.
Code: | !!! make failed with profiledbootstrap |
|
Take -mcpu out of your CFLAGS and CXXFLAGS. |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Fri Feb 11, 2005 9:16 pm Post subject: |
|
|
Oh, btw, -fweb seems finally to be fixed with current gcc 3.4.3. xine-lib doesn't show mpeg2 artefacts anymore (yes, I disabled the flag filtering in it ) and kde runs as expected. With both I had problem with an early gcc 3.4 and -fweb. |
|
Back to top |
|
|
Mikos Tux's lil' helper
Joined: 04 Feb 2004 Posts: 91 Location: Prague, Czech Republic
|
Posted: Sat Feb 12, 2005 4:31 pm Post subject: |
|
|
Hello,
I am using GCC-3.4 and now I have problem with gcc-config - it doesn't change GCC profile. It has worked in the past, but now it doesn't work, I can't switch back to GCC-3.3 profile if I want to compile something with gcc-3.3. I have tried nearly everything, but it still doesn't work (and YES, I have done "env-update && source /etc/profile" after "gcc-config 1"). For more informations about this issue, you can look at this thread: https://forums.gentoo.org/viewtopic.php?t=293494
Please help, this is really frustrating _________________ o Athlon-XP 2600+ (512kB cache), 512MB DDR400 RAM, GeForce FX-5600 128MB
o using Arch Linux now, but still love Gentoo |
|
Back to top |
|
|
Mikos Tux's lil' helper
Joined: 04 Feb 2004 Posts: 91 Location: Prague, Czech Republic
|
Posted: Sun Feb 13, 2005 1:29 am Post subject: |
|
|
I have re-emerged GCC 3.3 and now gcc-config works... _________________ o Athlon-XP 2600+ (512kB cache), 512MB DDR400 RAM, GeForce FX-5600 128MB
o using Arch Linux now, but still love Gentoo |
|
Back to top |
|
|
imrambi Tux's lil' helper
Joined: 12 Feb 2004 Posts: 116
|
Posted: Sun Feb 13, 2005 4:40 am Post subject: |
|
|
kimchi_sg wrote: | imrambi wrote: | I'm getting the following error.
Code: | !!! make failed with profiledbootstrap |
|
Take -mcpu out of your CFLAGS and CXXFLAGS. |
its a no go still. Here is my error:
Code: | /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:55: error: conflicting types for 'malloc'
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:55: error: conflicting types for 'malloc'
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c: In function `code_for_qualifier':
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:630: warning: implicit declaration of function `abort'
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c: In function `squangle_mop_up':
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:1154: warning: implicit declaration of function `free'
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c: In function `demangle_qualified':
/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/libiberty/cplus-dem.c:3310: warning: implicit declaration of function `atoi'
make[2]: *** [cplus-dem.o] Error 1
make[2]: Leaving directory `/mnt/files/tmp/portage/gcc-3.4.3.20050110/work/build/i686-pc-linux-gnu/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/mnt/files/tmp/portage/gcc-3.4.3.20050110/work/build'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-3.4.3.20050110 failed.
!!! Function gcc_do_make, Line 1092, Exitcode 2
!!! make failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
|
Here are my flags:
Code: | CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-fprefetch-loop-arrays -finline-limit=600 -ftracer"
CHOST="i686-pc-linux-gnu"
USE="opie sunbird thunderbird firefox ithreads threads mysql mythtv gtk gnome qt kde dvd alsa cdr dvdrw dvdr xinerama mozilla vlc arts" |
|
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Sun Feb 13, 2005 6:18 am Post subject: |
|
|
imrambi wrote: | Here are my flags:
Code: | CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-fprefetch-loop-arrays -finline-limit=600 -ftracer"
CHOST="i686-pc-linux-gnu"
USE="opie sunbird thunderbird firefox ithreads threads mysql mythtv gtk gnome qt kde dvd alsa cdr dvdrw dvdr xinerama mozilla vlc arts" |
|
I'm still inclined to think that it is the fault of the CFLAGS.
How about reducing CFLAGS to just:
Code: | CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" |
|
|
Back to top |
|
|
Mikos Tux's lil' helper
Joined: 04 Feb 2004 Posts: 91 Location: Prague, Czech Republic
|
Posted: Sun Feb 13, 2005 1:37 pm Post subject: |
|
|
imrambi: You can also use -ftracer and -fprefetch-loop-arrays (maybe also -fforce-addr), but other flags are insane... _________________ o Athlon-XP 2600+ (512kB cache), 512MB DDR400 RAM, GeForce FX-5600 128MB
o using Arch Linux now, but still love Gentoo |
|
Back to top |
|
|
imrambi Tux's lil' helper
Joined: 12 Feb 2004 Posts: 116
|
Posted: Mon Feb 14, 2005 3:12 am Post subject: |
|
|
some of them do help. Especially the finline-limit. If I don't have to pay for a costly stack calls, then I don't want to. |
|
Back to top |
|
|
justabssplyr Tux's lil' helper
Joined: 13 Apr 2004 Posts: 110
|
Posted: Mon Feb 14, 2005 3:26 am Post subject: |
|
|
imrambi wrote: | If I don't have to pay for a costly stack calls, then I don't want to. |
just dont file any bug reports |
|
Back to top |
|
|
cremeglace n00b
Joined: 17 Feb 2005 Posts: 2
|
Posted: Sun Feb 20, 2005 4:02 pm Post subject: |
|
|
I'm trying to emerge gcc-3.4.3 but I keep getting the following error:
!!! Problem in sys-devel/gcc-3.4.3 dependencies.
!!! "Specific key requires an operator (sys-devel/gcc-3.4.3) (try adding an '=')" exceptions
Also, gcc-3.4.3 doesn't show up when I use emerge --search gcc. I'm currently using gcc-3.3.5 and it seems that 3.4 isn't available for my system or something. I want to use it because of its pentium-m optimizations. Here's my system info:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.4.16 |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Sun Feb 20, 2005 4:28 pm Post subject: |
|
|
You need to have ACCEPT_KEYWORDS="~x86", or tell portage to accept gcc versions with ~x86 as their keyword via package.keywords. |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Wed Feb 23, 2005 10:12 am Post subject: |
|
|
Richard Henderson (from Red Hat) replies to my inquiry on gcc mailing list regarding broken compilation of SSE intrinsics (latest gcc4 alpha does it fine, btw):
Quote: |
>> ... but gcc 3.4.3 has serious issues. It even miscompiles SSE code.
>> Are plans to fix this ...
No.
r~
|
|
|
Back to top |
|
|
HiTech69 n00b
Joined: 11 Jul 2003 Posts: 12 Location: Wilmington, NC
|
Posted: Wed Mar 16, 2005 7:53 pm Post subject: |
|
|
Everything compiled fine with 3.4.3-20050110 until about 6 or so packages later in my upgrade when python started to scream
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
A search of my system comes up with nothing for this file. So, now I'm like in deep trouble, as nothing with python bindings is running...(emerge, ebuild).
Code: |
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/specs
Configured with: /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,f77 --enable-shared --enable-threads=posix
Thread model: posix
gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7) |
|
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
|
Back to top |
|
|
rrowv n00b
Joined: 17 Mar 2005 Posts: 16
|
Posted: Thu Mar 17, 2005 11:19 pm Post subject: |
|
|
Just emerged gcc-3.4.3 yesterday and it works great. Just noticed one strange thing though, I have no g++. Can't compile any C++ programs at the moment because of that. The executable isn't even in /usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110. I didn't put nocxx or anything in the USE flags. Shouldn't g++ have come along with the gcc emerge? Any ideas how I can get it? |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
|
Back to top |
|
|
rrowv n00b
Joined: 17 Mar 2005 Posts: 16
|
Posted: Fri Mar 18, 2005 12:20 am Post subject: |
|
|
Thanks that got it. (Didn't check the links about libstdc++ b/c I wasn't having trouble with it, so hadn't bothered to look there) |
|
Back to top |
|
|
radfoj Guru
Joined: 31 Dec 2004 Posts: 490 Location: Tísek, Czech Republic
|
Posted: Sun Mar 27, 2005 12:03 am Post subject: |
|
|
Hi, emerged gcc-3.4 only for one package and after this package sucesfully compiled, with gcc-config I switched back to stable gcc-3.3.5. And I want keep both gcc version.
But my problem now is, that after command
Code: | # emerge -pve system |
it want emerge the newest version
Code: | [ebuild N ] sys-devel/gcc-3.4.3.20050110-r1 (-altivec) -bootstrap -boundschecking -build -debug +fortran -gcj +gtk -hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 0 kB
[ebuild N ] sys-libs/libstdc++-v3-3.3.4 -debug +nls 0 kB |
Is it possible to "tell/write somewhere", that I want gcc-3.3.5 and not the newest one? |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Sun Mar 27, 2005 12:09 am Post subject: |
|
|
As the gcc versions are emerged to different slots, emerging gcc 3.4x won't delete your 3.3x version, so I don't see your problem. |
|
Back to top |
|
|
radfoj Guru
Joined: 31 Dec 2004 Posts: 490 Location: Tísek, Czech Republic
|
Posted: Sun Mar 27, 2005 12:32 am Post subject: |
|
|
PrakashP wrote: | As the gcc versions are emerged to different slots, emerging gcc 3.4x won't delete your 3.3x version, so I don't see your problem. |
To be sure: for example I want rebuild my whole system with gcc-3.3.5 with command "emerge -e system" and --pretend option shows me that gcc-3.4.x will be reemerged (see my previous post).
I am not worry that any of gcc version will be deleted. I am worrying with which version the system will be emerged.
OK so important is output by typing "gcc-config -l" and version with * will be used. Without any problems, that 3.4.x is presented.
[EDITED] but "emerge -e system" will not emerge gcc-3.3.5 [EDITED] |
|
Back to top |
|
|
|