Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gcc 4.5.0 [Fixed...Kinda]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 456

PostPosted: Thu May 14, 2009 10:17 pm    Post subject: Gcc 4.5.0 [Fixed...Kinda] Reply with quote

Anybody here try GCC 4.5.0 from the gcc-porting porting overlay? I have been trying to compile it for a little while now. Every ebuild update it seems to get a little closer and closer to finished, but usually ends in a error like this =>
Code:
6273 translated messages, 238 fuzzy translations, 578 untranslated messages.
gawk -f /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/opt-gather.awk /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/ada/gcc-interface/lang.opt /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/fortran/lang.opt /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/java/lang.opt /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/c.opt /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/common.opt /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/config/i386/i386.opt /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/config/linux.opt > tmp-optionlist
5439 translated messages, 1130 fuzzy translations, 520 untranslated messages.
TARGET_CPU_DEFAULT="" \
   HEADERS="auto-host.h ansidecl.h" DEFINES="" \
   /bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/mkconfig.sh bconfig.h
flex  -ogengtype-lex.c /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/gengtype-lex.l
4505 translated messages, 1243 fuzzy translations, 1341 untranslated messages.
7075 translated messages, 14 untranslated messages.
4917 translated messages, 1436 fuzzy translations, 736 untranslated messages.
TARGET_CPU_DEFAULT="" \
   HEADERS="config/i386/i386-protos.h tm-preds.h" DEFINES="" \
   /bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/mkconfig.sh tm_p.h
/bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../move-if-change tmp-gi.list gtyp-input.list
rm -f tmp-all-tree.def
echo timestamp > s-gtyp-input
echo '#include "tree.def"' > tmp-all-tree.def
if test yes = yes \
      || test -n "../lib64 ../lib32"; then \
     /bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/genmultilib \
       "m64/m32" \
       "64 32 " \
       "" \
       "" \
       "" \
       "" \
       "../lib64 ../lib32" \
       "yes" \
       > tmp-mlib.h; \
   else \
     /bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/genmultilib '' '' '' '' '' '' '' no \
       > tmp-mlib.h; \
   fi
echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def
lsf=""; for f in $lsf; do \
       echo "#include \"$f\""; \
   done | sed 's|/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/||' > tmp-specs.h
echo '#include "c-common.def"' >> tmp-all-tree.def
/bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../move-if-change tmp-specs.h specs.h
x86_64-pc-linux-gnu-gcc -c  -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc -I/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../libdecnumber/bid -I../libdecnumber    /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/dummy-checksum.c -o dummy-checksum.o
make[3]: *** No rule to make target `proto', needed by `native'.  Stop.
make[3]: *** Waiting for unfinished jobs....
ltf="/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/ada/gcc-interface/ada-tree.def /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/cp/cp-tree.def /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/java/java-tree.def /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/objc/objc-tree.def"; for f in $ltf; do \
     echo "#include \"$f\""; \
   done | sed 's|/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/||' >> tmp-all-tree.def
echo timestamp > s-specs
/bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../move-if-change tmp-all-tree.def all-tree.def
echo timestamp > s-alltree
/bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../move-if-change tmp-mlib.h multilib.h
echo timestamp > s-mlib
/bin/sh /var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/build'
make: *** [bootstrap] Error 2

_________________
Don't ever tell anybody anything. If you do, you start missing everybody.


Last edited by Hell-Razor on Sun May 24, 2009 6:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4987
Location: Dark side of the mood

PostPosted: Fri May 15, 2009 6:15 pm    Post subject: Reply with quote

You like to live dangerously, don't you?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 456

PostPosted: Fri May 15, 2009 8:25 pm    Post subject: Reply with quote

Sure do...But I am just wondering as well if anybody has this working (in a chroot, on their system, installed secretly on a friends system...etc)

EDIT:
Somebody has to do it. How else are we going to get gentoo to the dangerous side? Everybody is complaining that gentoo lost its balls. It didn't, its just a little more difficult to get to the part WITH the balls...
_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
Seppel
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 113

PostPosted: Fri May 15, 2009 9:30 pm    Post subject: Reply with quote

VinzC wrote:
You like to live dangerously, don't you?


Why? Installing multiple versions of gcc is perfectly supported by gentoo. If you are a developer you *want* the latest version, because it helps you fix the we-implemented-random-new-crap-from-the-c/c++-standard issues as soon as possible...

Anyway, I can't get the gcc 4.5 snapshots to compile either.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Fri May 15, 2009 10:18 pm    Post subject: Reply with quote

Hell-Razor,
Just curious- what toolchain and make.conf flags are you trying to compile gcc-4.5 with? (Emerge --info?)
Maybe gcc-4.5 needs the latest gcc, glibc, and binutils available?

I have one ~x86 (32 bit on amd64 hardware) Gentoo install (with kde-svn) completely compiled with gcc-4.4.1_pre9999 on it's own partition. No major problems, but I do only run about 850 packages on this install so far, so admitttedly I might have problems with a full-blown 1200+ package system.

Just for fun, I have another backup box sittng around with a spare Gentoo install I might be tempted to try to rebuild with gcc-4.5
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Fri May 15, 2009 10:32 pm    Post subject: Reply with quote

Seppel wrote:
VinzC wrote:
You like to live dangerously, don't you?


Why? Installing multiple versions of gcc is perfectly supported by gentoo. If you are a developer you *want* the latest version, because it helps you fix the we-implemented-random-new-crap-from-the-c/c++-standard issues as soon as possible...

Anyway, I can't get the gcc 4.5 snapshots to compile either.

The dev's on GCC is still working on stage 1 of the compiler.
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
Seppel
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 113

PostPosted: Fri May 15, 2009 11:46 pm    Post subject: Reply with quote

zorry wrote:
Seppel wrote:
VinzC wrote:
You like to live dangerously, don't you?


Why? Installing multiple versions of gcc is perfectly supported by gentoo. If you are a developer you *want* the latest version, because it helps you fix the we-implemented-random-new-crap-from-the-c/c++-standard issues as soon as possible...

Anyway, I can't get the gcc 4.5 snapshots to compile either.

The dev's on GCC is still working on stage 1 of the compiler.


That's right, but that's exactly the stage where they commit all the freaky stuff that breaks existing code. (And that's the point of time where you can complain).

Why do you think bugs like https://bugs.gentoo.org/show_bug.cgi?id=gcc-4.4 exist? Because developers don't test against the latest gcc.

I for one try to compile against the latest snapshots as soon as possible, so that my software is gcc 4.5 clean once gcc ships.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Sat May 16, 2009 2:08 am    Post subject: Reply with quote

Just tried compiling gcc-4.5.0_pre9999 on my gcc-4.4.1_pre9999 compiled box, but got the same errors as Hell-Razor. :(
This was with gcc-4.5.0_pre9999 (r147604)

Is there a similar site for gcc-svn like the "dirk/dashboard" kde-svn related site that reports which svn versions are currently building/failing? http://developer.kde.org/~dirk/dashboard/
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 456

PostPosted: Sat May 23, 2009 10:47 pm    Post subject: Reply with quote

Anybody have any luck with GCC 4.5 building yet?
_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
Seppel
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 113

PostPosted: Sun May 24, 2009 3:52 pm    Post subject: Reply with quote

Hell-Razor wrote:
Anybody have any luck with GCC 4.5 building yet?


See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40198
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 456

PostPosted: Sun May 24, 2009 6:29 pm    Post subject: Reply with quote

Quote:
Now its fixed.
It was a gentoo related bug.
In the gentoo ebuild or toolchain.eclass are a few lines causing this error
message.

# protoize don't build on FreeBSD, skip it
if ! is_crosscompile && ! use elibc_FreeBSD ; then
# enable protoize / unprotoize
sed -i -e '/^LANGUAGES =/s:$: proto:' "${S}"/gcc/Makefile.in
fi

and with

FEATURES="-sandbox"

it works


That for me though is like turning off an anti virus to get a virus infected file installed in Winblows...
_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 456

PostPosted: Wed May 27, 2009 9:00 pm    Post subject: Reply with quote

Is it worth the risk for "FEATURES=-sandbox" I don't think it is but this may be a legitimate reason to disable it...
_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 606

PostPosted: Thu May 28, 2009 6:54 am    Post subject: Reply with quote

Hell-Razor wrote:
Quote:
Now its fixed.
FEATURES="-sandbox"

it works


That for me though is like turning off an anti virus to get a virus infected file installed in Winblows...


Every ebuild can disable the sandbox without problems. The sandbox protects you from unintended errors but not malicious intents.
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 456

PostPosted: Thu May 28, 2009 11:48 pm    Post subject: Reply with quote

V-Li wrote:
Every ebuild can disable the sandbox without problems. The sandbox protects you from unintended errors but not malicious intents.
I guess this makes sense...
_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 456

PostPosted: Fri May 29, 2009 2:40 am    Post subject: Reply with quote

Just got done emerging GCC, worked =)
_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 456

PostPosted: Fri May 29, 2009 3:30 pm    Post subject: Reply with quote

I actually have to say I am very impressed. The only thing that didn't compile correctly was the qt-gui package and I am not even sure that was GCC's fault (it just sopped compiling together, I just restarted it and it complete fine...strange)

Code:
 # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.3.3
 [2] x86_64-pc-linux-gnu-4.5.0-pre9999 *

_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum