Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

GCC 3.4.3 is upon us!

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
278 posts
  • Page 1 of 12
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 12
  • Next
Author
Message
black hole sun
Apprentice
Apprentice
User avatar
Posts: 245
Joined: Sat Aug 14, 2004 12:21 am

GCC 3.4.3 is upon us!

  • Quote

Post by black hole sun » Sun Nov 07, 2004 6:33 am

MOD EDIT: Stickified. --plate
MOD EDIT: Un-Stickified. --Deathwing00


Just thought I'd let you all know. It isnt OFFICIALLY released yet, but it's on the gcc FTP and it's the completely frozen RTM version :)

ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.3/

Mainly, this is a bugfix release. GCC 3.4 is becoming very stable as of late :D here is the (incomplete) changelog:
Bootstrap failures

17369 [ia64] Bootstrap failure with binutils-2.15.90.0.1.1
17850 [arm-elf] bootstrap failure - libstdc++ uses strtold when undeclared

Internal compiler errors (ICEs) affecting multiple platforms

13948 (java) GCJ segmentation fault while compiling GL4Java .class files
14492 ICE in loc_descriptor_from_tree, in dwarf2out.c
16301 (c++) ICE when "strong" attribute is attached to a using directive
16566 ICE with flexible arrays
17023 ICE with nested functions in parameter declaration
17027 ICE with noreturn function in loop at -O2
17524 ICE in grokdeclarator, in cp/decl.c
17826 (c++) ICE in cp_tree_equal

C and optimization bugs

15526 (or x86?) -ftrapv aborts on 0 * (-1)
16999 #ident stopped working
17503 quadratic behaviour in invalid_mode_change_p
17581 Long long arithmetic fails inside a switch/case statement when compiled
with -O2
18129 -fwritable-strings doesn't work

C++ compiler and library bugs

10975 incorrect initial ostringstream::tellp()
11722 Unbuffered filebuf::sgetn is slow
14534 Unrecognizing static function as a template parameter when its return
value is also templated
15172 Copy constructor optimization in aggregate initialization
15786 Bad error message for frequently occuring error.
16162 Rejects valid member-template-definition
16612 empty basic_strings can't live in shared memory
16715 std::basic_iostream is instantiated when used, even though instantiations
are already contained in libstdc++
16848 code in /ext/demangle.h appears broken
17132 GCC fails to eliminate function template specialization when argument
deduction fails
17259 One more _S_leaf incorrectly qualified with _RopeRep:: in ropeimpl.h
17327 use of `enumeral_type' in template type unification
17393 "unused variable '._0'" warning with -Wall
17501 Confusion with member templates
17585 usage of unqualified name of static member from within class not allowed
17821 Poor diagnostic for using . instead of ->
17829 wrong error: call of overloaded function is ambiguous
17851 Misleading diagnostic for invalid function declarations with undeclared
types
17976 Destructor is called twice
18020 rejects valid definition of enum value in template
18093 bogus conflict in namespace aliasing
18140 C++ parser bug when using >> in templates

Fortran

17541 data statements with double precision constants fail

x86-specific

17853 -O2 ICE for MMX testcase

Sparc-specific

17245 ICE compiling gsl-1.5 statistics/lag1.c

Darwin-specific

17167 FATAL:Symbol L_foo$stub already defined.
17537 g++ not passing -lstdc++ to linker when -l is only supplied

AIX-specific

17277 could not catch an exception when specified -maix64

Solaris-specific

17505 <cmath> calls acosf(), ceilf(), and other functions missing from
system libraries

HP/UX specific:

17684 /usr/ccs/bin/ld: Can't create libgcc_s.sl

ARM-specific

17384 ICE with mode attribute on structures

MIPS-specific

17770 No NOP after LWL with -mips1

Other embedded target specific

11476 [arc-elf] gcc ICE on newlib's vfprintf.c
14064 [avr-elf] -fdata-sections triggers ICE
14678 [m68hc11-elf] gcc ICE
15583 [powerpc-rtems] powerpc-rtems lacks __USE_INIT_FINI__
15790 [i686-coff] Alignment error building gcc with i686-coff target
15886 [SH] Miscompilation with -O2 -fPIC
16884 [avr-elf] [fweb related] bug while initializing variables

Bugs relating to debugger support

13841 missing debug info for _Complex function arguments
15860 [big-endian targets] No DW_AT_location debug info is emitted for formal
arguments to a function that uses "register" qualifiers

Testsuite issues (compiler not affected)

17465 Testsuite in libffi overrides LD_LIBRARY_PATH
17469 Testsuite in libstdc++ overrides LD_LIBRARY_PATH
18138 [mips-sgi-irix6.5] libgcc_s.so.1 not found by 64-bit testsuite

documentation

15498 typo in gcc manual: non-existing locale example en_UK, should be en_GB
15747 [mips-sgi-irix5.3] /bin/sh hangs during bootstrap: document broken shell
16406 USE_LD_AS_NEEDED undocumented
Running Slackware Linux (I no longer use Gentoo, but I still like this forum ;) )
Top
firephoto
Veteran
Veteran
User avatar
Posts: 1612
Joined: Wed Oct 29, 2003 12:48 am
Location: +48° 5' 23.40", -119° 48' 30.00"

  • Quote

Post by firephoto » Mon Nov 08, 2004 2:35 am

3.4.3 is in the portage tree for ~arch and it looks like the "f77" use flag has changed to "fortran".(?)
Top
firephoto
Veteran
Veteran
User avatar
Posts: 1612
Joined: Wed Oct 29, 2003 12:48 am
Location: +48° 5' 23.40", -119° 48' 30.00"

  • Quote

Post by firephoto » Mon Nov 08, 2004 3:03 am

I had a little trouble after a reboot but got KDE started again after I did a "gcc-config i686-pc-linux-gnu-3.4.3" and "fix_libtool_files.sh 3.4.2". I don't know that the fix_libtool part is needed though but I did it anyway.
Top
revertex
l33t
l33t
User avatar
Posts: 806
Joined: Wed Apr 23, 2003 9:21 am

  • Quote

Post by revertex » Mon Nov 08, 2004 10:32 am

i just emerged 3.4.3, and now i can't emerge anything.
emerge even die with all sort of errors related to gcc.
next time i've got gcc working i will build a precompiled gcc package just in case i need to downgrade but can't compile an older version.
Top
Deranger
Veteran
Veteran
User avatar
Posts: 1215
Joined: Thu Aug 26, 2004 9:46 am

  • Quote

Post by Deranger » Mon Nov 08, 2004 10:32 am

firephoto wrote:3.4.3 is in the portage tree for ~arch and it looks like the "f77" use flag has changed to "fortran".(?)
Yep, it looks like.
revertex wrote:i just emerged 3.4.3, and now i can't emerge anything.
emerge even die with all sort of errors related to gcc.
next time i've got gcc working i will build a precompiled gcc package just in case i need to downgrade but can't compile an older version.
LiveCD is your friend ;)
Top
revertex
l33t
l33t
User avatar
Posts: 806
Joined: Wed Apr 23, 2003 9:21 am

  • Quote

Post by revertex » Mon Nov 08, 2004 1:10 pm

thanks for the tip Oktane, i already found a solution in bugzilla.
live-cd is my last resource, it's too easy to fix things this way, there is no fun!
Top
meabolex
n00b
n00b
Posts: 6
Joined: Sat Jul 31, 2004 5:31 pm

  • Quote

Post by meabolex » Mon Nov 08, 2004 1:56 pm

running "gcc-config i686-pc-linux-gnu-3.4.3" fixed the problem for me.
Top
Deranger
Veteran
Veteran
User avatar
Posts: 1215
Joined: Thu Aug 26, 2004 9:46 am

  • Quote

Post by Deranger » Mon Nov 08, 2004 2:25 pm

meabolex wrote:running "gcc-config i686-pc-linux-gnu-3.4.3" fixed the problem for me.
Yeah, it doesn't switch automatically to 3.4.3, and because there's no 3.4.2 (or whatever you had before emerging 3.4.3), it doesn't work.
Top
Ruzgfpegk
n00b
n00b
User avatar
Posts: 11
Joined: Tue Jun 22, 2004 5:12 pm
Location: France
Contact:
Contact Ruzgfpegk
Website

  • Quote

Post by Ruzgfpegk » Mon Nov 08, 2004 3:57 pm

meabolex wrote:running "gcc-config i686-pc-linux-gnu-3.4.3" fixed the problem for me.
For me too.

Before doing it and after having updated GCC, I had this frightening error nearly everytime I wanted to start a program (it didn't for pySoulSeek) :

Code: Select all

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
EDIT :
Seems like the number for this bug is 70436.
Last edited by Ruzgfpegk on Mon Nov 08, 2004 4:11 pm, edited 1 time in total.
Top
mirko_3
l33t
l33t
User avatar
Posts: 605
Joined: Sun Nov 02, 2003 4:14 pm
Location: Birreria

  • Quote

Post by mirko_3 » Mon Nov 08, 2004 4:05 pm

Worked fine with me, after doing a "gcc-config 3" and a "fix_libtool_files.sh 3.4.2" and finally adding GCC_SPECS="/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs" at the end of /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3 (this last one is a bug, already reported on bugzilla). Pretty smooth, all in all, other than the bug part...
Non fa male! Non fa male!
Top
StifflerStealth
Retired Dev
Retired Dev
User avatar
Posts: 968
Joined: Wed Jul 03, 2002 8:20 pm

  • Quote

Post by StifflerStealth » Mon Nov 08, 2004 5:15 pm

Does anyone know if they fixed the sse2 bug for P4's in this release. I hope they do sometime, so I can use gcc 3.4.x and have sse2 optimizations.
Last edited by StifflerStealth on Tue Nov 09, 2004 1:12 am, edited 1 time in total.
Nothing to read in this sig. Move along.
Top
aderio
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Dec 01, 2003 7:49 pm
Location: England

  • Quote

Post by aderio » Mon Nov 08, 2004 6:58 pm

Worked fine with me, after doing a "gcc-config 3" and a "fix_libtool_files.sh 3.4.2" and finally adding GCC_SPECS="/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs" at the end of /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3 (this last one is a bug, already reported on bugzilla). Pretty smooth, all in all, other than the bug part...
Done the business for me. Don't you just love the forums, just when you start to panic in with the knoppix cd - www.forums.gentoo.org - find solution - print - fix - reboot -JOB DONE.

IMHO these forums are without doubt the biggest selling point (giving away point :lol: ) of Gentoo. Hopefully M$ will not catch on
Typos lead to premature baldness, therefore lick and stick whenever possible. Veteran status may mean that you post a lot of *** I'm a noob and clueless.
"Let us go forward together" Winston Churchill
Top
firephoto
Veteran
Veteran
User avatar
Posts: 1612
Joined: Wed Oct 29, 2003 12:48 am
Location: +48° 5' 23.40", -119° 48' 30.00"

  • Quote

Post by firephoto » Mon Nov 08, 2004 7:10 pm

I just upgraded the slower box and I had time to notice that it has a little message that says you have an existing gcc profile that is valid so it is leaving it be, but if you want to change it you can and it tells you how, then it does a fix_libtools*, then it finishes the emerge and unmerges your 3.4.2 which makes the first part invalid because it just took away your "existing gcc". This flies by so fast on the athlon64 I usually don't have a chance to even notice it or read any info notices before it removes the old version of a package.

I still have 3.3.4-r1 installed so this could be the reason it thinks I'm ok and doesn't switch to the new gcc.
Top
Heurisko
n00b
n00b
User avatar
Posts: 16
Joined: Thu Feb 19, 2004 10:39 am
Location: North Texas
Contact:
Contact Heurisko
Website

I had the libstdc++.so.6 issue also...

  • Quote

Post by Heurisko » Mon Nov 08, 2004 11:58 pm

here's what I posted in another thread about it:

The gcc-config fix, listed above, fixed it for me also. But, I came very close to totally dumping Gentoo because of the way portage handled this upgrade.

This is why I make this complaint:
If there is a new version of portage available to be emerged, portage itself will say that it will stop and reload itself before continuing with any other emerge requests in the current list (like if you do an emerge -Dvu world).

Why in the world (no pun intended) wouldn't the Gentoo developers make provision for the same kind of "reloading", as it were, for such major changes as gcc 3.4? It makes not sense whatsover. In fact, I couldn't even finish the emerge request that I was doing today because of this lack of forsight. (This type of change could also require user interaction before continuing with that or any other emerge slated to be completed.)

It also caused me to lose critical time today when kde wouldn't come up because of this oversight.

Really? How hard could it be to integrate that kind of stopage and warning into portage when there are such critical changes that WILL affect your system in such a dramatic way?
Top
HydroSan
l33t
l33t
User avatar
Posts: 764
Joined: Thu Mar 04, 2004 5:43 pm
Location: The Kremlin (aka Canada)
Contact:
Contact HydroSan
Website

  • Quote

Post by HydroSan » Tue Nov 09, 2004 12:21 am

I nearly stabbed myself in the face when I upgraded portage and could get nothing working.

I ran gcc-config, I manually updated some configs in /etc/env.d, and ran ldconfig && env-update && source /etc/profile as many times as possible.

I downgraded GCC and plan not to upgrade until an -r1 is released to fix this.
I was a Gangster for Capitalism, by Major General Smedley Butler.

Server status: Currently down, being replaced with fresh install - 20% completed.
Top
jefftang
n00b
n00b
Posts: 30
Joined: Sat Jan 04, 2003 7:28 am

  • Quote

Post by jefftang » Tue Nov 09, 2004 12:49 am

It's badly broken for me too.

I've run gcc-config and my ld.so.conf has the right directories in it, but the file just isn't anywhere to be found:


Code: Select all

# ls /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.*
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.a   /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.so
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la
# ls /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.*
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.a   /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.la
I tried the fixtools script and re-emerging gcc 3.4.3. Is there some tool that erases/generates this library?
Top
Dolio
l33t
l33t
User avatar
Posts: 650
Joined: Mon Jun 17, 2002 8:24 am

  • Quote

Post by Dolio » Tue Nov 09, 2004 4:00 am

Heurisko wrote:Really? How hard could it be to integrate that kind of stopage and warning into portage when there are such critical changes that WILL affect your system in such a dramatic way?
It isn't released yet (still ~x86), so you still have time to go file a bug report and ask for appropriate handling from within the ebuild, or wherever handling would be appropriate.

The 3.4.3 ebuild seems to be slotted, so it should leave 3.3.x (or whatever) on your machine, which should leave you with a working compiler in most cases. If one has already been playing around with the 3.4 series, though, I guess it would remove that package and leave you without a compiler. However, it should be noted that you would have to be playing with experimental packages, and shouldn't really expect hand holding.

If it does, in fact, remove 3.3.x even though it's slotted, and could leave even people how aren't experimenting without a default compiler, then that is most likely a bug, and should be reported.
They don't have a good bathroom to do coke in.
Top
Deranger
Veteran
Veteran
User avatar
Posts: 1215
Joined: Thu Aug 26, 2004 9:46 am

  • Quote

Post by Deranger » Tue Nov 09, 2004 7:13 am

Hmm, I just emerged GCC 3.4.3 and ran gcc-config, everything works very well. What kind of problems do you guys have?
Top
Grahammm
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Wed Sep 01, 2004 7:22 am
Location: Berkshire UK

  • Quote

Post by Grahammm » Tue Nov 09, 2004 8:20 am

aderio wrote:IMHO these forums are without doubt the biggest selling point (giving away point :lol: ) of Gentoo. Hopefully M$ will not catch on
They already have, but abandoned the idea many many moons ago. The Microsoft forums on CompuServe used to be very good, but that was about 10 years ago.
Top
xero_cool
n00b
n00b
Posts: 2
Joined: Tue Nov 09, 2004 3:41 pm

Re: I had the libstdc++.so.6 issue also...

  • Quote

Post by xero_cool » Tue Nov 09, 2004 4:00 pm

Heurisko wrote:The gcc-config fix, listed above, fixed it for me also. But, I came very close to totally dumping Gentoo because of the way portage handled this upgrade.

This is why I make this complaint:
If there is a new version of portage available to be emerged, portage itself will say that it will stop and reload itself before continuing with any other emerge requests in the current list (like if you do an emerge -Dvu world).

Why in the world (no pun intended) wouldn't the Gentoo developers make provision for the same kind of "reloading", as it were, for such major changes as gcc 3.4? It makes not sense whatsover. In fact, I couldn't even finish the emerge request that I was doing today because of this lack of forsight. (This type of change could also require user interaction before continuing with that or any other emerge slated to be completed.)

It also caused me to lose critical time today when kde wouldn't come up because of this oversight.

Really? How hard could it be to integrate that kind of stopage and warning into portage when there are such critical changes that WILL affect your system in such a dramatic way?
I agree that this would be a valuable "feature," but it would be quite lame to quit using Gentoo over something as trivial as that... if you're tired of fixing stuff that breaks once in awhile, then switch to arch from ~arch and most of these bugs will be fixed by the time the packages are unmasked for you.
Top
windzor
n00b
n00b
Posts: 50
Joined: Sun Apr 04, 2004 4:12 pm

  • Quote

Post by windzor » Tue Nov 09, 2004 7:33 pm

[quote="firephoto"]3.4.3 is in the portage tree for ~arch and it looks like the "f77" use flag has changed to "fortran".(?)[/quote]

Its because of the comming GCC 4.0 migration to F95. Read the " f77 is now just plain old fortran in preparation for gcc4" thread on gentoo-dev@gentoo.org after further information
Top
jefftang
n00b
n00b
Posts: 30
Joined: Sat Jan 04, 2003 7:28 am

  • Quote

Post by jefftang » Tue Nov 09, 2004 7:41 pm

jefftang wrote:It's badly broken for me too.

I've run gcc-config and my ld.so.conf has the right directories in it, but the file just isn't anywhere to be found.
I unmerged gcc-3.4.3 and re emerged it and that seemed to fix things.
Top
RumbleBot
n00b
n00b
Posts: 18
Joined: Tue Jun 03, 2003 9:12 pm
Location: Portland, ME, USA
Contact:
Contact RumbleBot
Website

  • Quote

Post by RumbleBot » Tue Nov 09, 2004 7:44 pm

I don't know if this has been posted yet, but this is what worked for me.

I emergeed gcc 3.4.3, but it was still lookin for the 3.4.2 directory. I just added a symlink.

Code: Select all

cd /usr/lib/gcc/x86_64-pc-linux-gnu
ln -s 3.4.3 3.4.2
of course change x86_64-pc-linux-gnu to whatever system your running. Worked like a charm for me.
Top
Dark_Hunter
Apprentice
Apprentice
User avatar
Posts: 230
Joined: Fri Mar 28, 2003 12:10 pm
Location: Germany

  • Quote

Post by Dark_Hunter » Tue Nov 09, 2004 10:09 pm

correct way it works =)

1. emerge gcc
2. run

Code: Select all

gcc-config -l
The "-l" is a "L".

select the profile you want to use

3. run

Code: Select all

gcc-config NUMBER_OF_THE_PROFILE_YOU_WANT
Top
Brain Fury
Guru
Guru
Posts: 357
Joined: Thu Jul 10, 2003 2:48 pm
Location: Düsseldorf (Germany)
Contact:
Contact Brain Fury
Website

  • Quote

Post by Brain Fury » Wed Nov 10, 2004 2:48 pm

/me bows to the search

once again you have saved me :D
shift HAPPENS
Top
Post Reply

278 posts
  • Page 1 of 12
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 12
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic