Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 4.3.0 testing! (part 2)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sat Jun 14, 2008 8:48 pm    Post subject: Reply with quote

kernelOfTruth wrote:
anyone encountered the same ?

Nope, it's completely stable for me.

Btw qt-4.3.4-r1 doesn't compile with gcc-4.3.1, here is last 300 lines from build.log -> http://omploader.org/vanM5

Did anyone have the same error? Bugzilla assumes it should compile (there's a bug for it, but it's resolved and it regards other issue).
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
kev009
n00b
n00b


Joined: 17 Oct 2005
Posts: 43
Location: Tempe, Arizona

PostPosted: Sun Jun 15, 2008 3:32 am    Post subject: Reply with quote

I suggest that a new thread be started for hardened testing...
_________________
http://www.kev009.com
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sun Jun 15, 2008 3:47 am    Post subject: Reply with quote

I have the same problem with qt 4.3.4, gcc 4.3.1 and glibc 2.8.

I'm not too sure on how to fix it.

*edit*
fixed it, i was playing with the USE flags.
I was going 2 at a time to see if what caused it to fail, and i happened to do -firebird and -ssl and it compiled.
USE="-firebird -ssl", not sure which one, like i said i was testing them 2 at a time, i'm assuming ssl but that got it to work for me.

*edit2*
Well, i forgot you can't build kde4 stuff unless you build qt with a bunch of flags including ssl, so i dropped firebird but am trying again with ssl.

*edit3*
I built it successfully by removing the firebird use flag only, ssl use flag is NOt the problem thankfully :)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Jun 15, 2008 10:13 pm    Post subject: Reply with quote

bugs are being / will be triggered (due to seemingly poor coding practice) in several packages if you use -D_FORTIFY_SOURCE=2

please either report them on the hardened toolchain thread:
https://forums.gentoo.org/viewtopic-t-668885-start-225.html

or on trac (bug tracker):
https://hardened.gentooexperimental.org/secure/ticket/29

thanks in advance
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Enverex
Guru
Guru


Joined: 02 Jul 2003
Posts: 501
Location: Worcester, UK

PostPosted: Mon Jun 16, 2008 5:26 pm    Post subject: Reply with quote

Performance with different CFLAGs if anyone was interested:

Code:
Core2Quad Q9450 @ 3.4Ghz || 4GB PC8500 5-5-5-15 || GCC 4.3.1 || Linux 2.6.25
~30 minute stereo wave file encoded in Lame Lame-3.97 64bit.

real   1m28.739s   -O3 -ffast-math -funroll-loops -Wall -pipe (Lame defaults)
real   1m29.168s   -march=native -O3 -ffast-math -funroll-loops -Wall -pipe
real   1m35.633s   -march=native -O3 -pipe -ffast-math
real   1m35.923s   -march=native -O3 -pipe -ftracer -ffast-math
real   1m36.346s   -march=native -O3 -pipe -ffast-math -falign-functions=64
real   1m36.768s   -march=native -O2 -pipe -ftracer -ffast-math
real   1m37.242s   -march=native -O3 -pipe -ftracer
real   1m38.127s   -march=native -O3 -pipe -fomit-frame-pointer
real   1m38.235s   -march=native -O3 -pipe -fvect-cost-model
real   1m38.243s   -march=native -O2 -pipe -mfpmath=sse,387
real   1m38.278s   -march=native -O2 -pipe
real   1m38.423s   -march=native -O2 -pipe -falign-functions=64
real   1m38.527s   -march=native -O2 -pipe -ffast-math
real   1m38.573s   -march=native -O2 -pipe -falign-functions=128
real   1m38.575s   -march=native -O2 -pipe -mfpmath=sse
real   1m39.241s   -march=native -O2 -pipe -ftracer
real   1m39.261s   -march=native -O2 -pipe -fomit-frame-pointer
real   1m40.946s   -march=native -Os -pipe -ffast-math
real   1m41.385s   -march=native -Os -pipe
real   1m41.513s   -march=native -Os -pipe -fomit-frame-pointer
real   1m41.602s   -march=native -Os -pipe -fomit-frame-pointer -mfpmath=sse,387
real   1m46.577s   -march=native -O2 -pipe -mfpmath=387


I thought LAME was as good a test as any. Kinda weird that the defaults that also don't contain any CPU optimisations seems to come first?!
Back to top
View user's profile Send private message
callx
n00b
n00b


Joined: 06 Jul 2006
Posts: 28
Location: Toronto, Canada

PostPosted: Mon Jun 16, 2008 5:40 pm    Post subject: Reply with quote

Mine is stable too. I rebuilt toolchain + world with gcc 4.3.1 and glibc 2.8 and had just some minor issues with some packages which are already fixed in bugzilla. I can finally feel my phenom 9750 running right. :D


CFLAGS="-O2 -march=amdfam10 -pipe"


My one big issue was: sys-lib/db-3.2.9-r11 failing (Anyone know if it's really needed?)
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Jun 19, 2008 2:10 pm    Post subject: Reply with quote

strange, qt-4.3.4 works/compiles fine here:

Quote:
[ebuild R ] x11-libs/qt-4.3.4-r1 USE="accessibility cups dbus gif glib jpeg mysql opengl png postgres qt3support sqlite ssl tiff xinerama zlib -debug -doc -examples (-firebird) -mng -nas -nis -odbc -pch -sqlite3"


Quote:
Thu Jun 19 16:07:48 2008 >>> x11-libs/qt-4.3.4-r1
merge time: 19 minutes and 56 seconds.

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Jun 19, 2008 4:44 pm    Post subject: Reply with quote

Yeah, the reason it didn't compile was firebird USE flag enabled.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Fri Jun 20, 2008 4:57 am    Post subject: Reply with quote

I had to unmask several packages to testing (~x86) to update world. The following is the list of packages. It might come in handy for someone who does not have too many keyworded packages. There may be more packages which require to be keyworded, some of which I may have had already keyworded in package.keywords. Some were unmasked/added to overlay after I read the reports in bugzilla. I unmerged consolekit, netkit-rsh and recompiled xinit with "minimal -hal" to get rid of these dependencies :P
Code:
=net-firewall/iptables-1.4.0-r1 ~x86
=net-nds/openldap-2.3.41-r1 ~x86
=sys-libs/gpm-1.20.4 ~x86
=app-admin/gamin-0.1.9-r1 ~x86
=dev-libs/libsigc++-2.2.2 ~x86
=media-libs/musicbrainz-2.1.5 ~x86
=sys-apps/net-tools-1.60_p20071202044231-r1 ~x86
media-libs/flac ~x86
=dev-cpp/glibmm-2.16.1 ~x86
=dev-libs/glib-2.16.3 ~x86
=media-libs/netpbm-10.42.0 ~x86
=media-libs/tunepimp-0.5.3-r1 ~x86
=app-cdr/cdrdao-1.2.2-r2 ~x86
=dev-cpp/gtkmm-2.12.7 ~x86
=net-misc/netkit-rsh-0.17-r9 ~x86
=dev-libs/elfutils-0.131-r2 ~x86

_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Akkara
Administrator
Administrator


Joined: 28 Mar 2006
Posts: 6677
Location: &akkara

PostPosted: Fri Jun 20, 2008 6:05 am    Post subject: Reply with quote

Just a quick, big thumbs-up on gcc 4.3.1

I'm running mostly stable amd64. But I've using gcc-4.3.1 for development work to be sure my codes will work on it.

Recently I re-emerged some speed-critical (for me) packages, using gcc-4.3.1: flac, shorten, sox, md5sum.

The result was a measured 10% speed improvement on audio filtering and transcoding pipelines.

Highly recommended.
Back to top
View user's profile Send private message
DWORD
n00b
n00b


Joined: 22 Dec 2006
Posts: 6
Location: Aalborg, Denmark

PostPosted: Wed Aug 20, 2008 9:30 pm    Post subject: Reply with quote

Akkara wrote:
I'm running mostly stable amd64. But I've using gcc-4.3.1 for development work to be sure my codes will work on it.

I would like to test gcc-4.3.1 for development purposes, too, while keeping my system using gcc-4.1.2. Is there a guide somewhere where I can read how to go about that? I couldn't find anything, but I'm probably looking in the wrong places. Also running amd64.
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Wed Aug 20, 2008 9:36 pm    Post subject: Reply with quote

DWORD,

just emerge sys-devel/gcc-4.3.1 and make sure that gcc-config -l says that your current gcc (4.1.2?) profile is selected.
nothing bad will happen.
Back to top
View user's profile Send private message
DWORD
n00b
n00b


Joined: 22 Dec 2006
Posts: 6
Location: Aalborg, Denmark

PostPosted: Thu Aug 21, 2008 6:45 am    Post subject: Reply with quote

alex.blackbit wrote:
just emerge sys-devel/gcc-4.3.1 and make sure that gcc-config -l says that your current gcc (4.1.2?) profile is selected.
nothing bad will happen.

Ok, thanks. That's what I did (4.3.1-r1 iirc), and I set globally the useflag multislot (don't know if that is needed). gcc-config still says 4.1.2 is selected, so that's good. But what do I do then, when I want to use 4.3.1 in e.g. a single terminal for development? Don't I need to set up some environment?
Back to top
View user's profile Send private message
Akkara
Administrator
Administrator


Joined: 28 Mar 2006
Posts: 6677
Location: &akkara

PostPosted: Thu Aug 21, 2008 8:58 am    Post subject: Reply with quote

Quote:
But what do I do then, when I want to use 4.3.1 in e.g. a single terminal for development?

You can invoke any specific compiler by its full name and version, for example, gcc-4.3.1 .

What I had done, was simply defined CC for the makefile to be gcc-4.3.1 and it used it. Or can alias gcc to be gcc-4.3.1 to use at the command line (but I don't think that carries through to makefiles). Or you can look at what gcc-config does and see if you can model that for a specific user. (I had once posted a question about how to do just that but I don't think it was answered, and using gcc-4.3.1 was easy enough that I didn't investigate further.)
Back to top
View user's profile Send private message
DWORD
n00b
n00b


Joined: 22 Dec 2006
Posts: 6
Location: Aalborg, Denmark

PostPosted: Thu Aug 21, 2008 11:06 am    Post subject: Reply with quote

Akkara wrote:
What I had done, was simply defined CC for the makefile to be gcc-4.3.1 and it used it. Or can alias gcc to be gcc-4.3.1 to use at the command line (but I don't think that carries through to makefiles). Or you can look at what gcc-config does and see if you can model that for a specific user. (I had once posted a question about how to do just that but I don't think it was answered, and using gcc-4.3.1 was easy enough that I didn't investigate further.)

Ok, thanks Akkara. And sorry for hijacking the thread.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Aug 21, 2008 1:52 pm    Post subject: Reply with quote

Quote:
kEiNsTeiN wrote:
I'm having the
Code:
../libtool: line 463: CDPATH: command not found
../libtool: line 1148: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.

error for at least 2 packages:
dev-python/pygobject-2.14.1
media-libs/tunepimp-0.5.3-r1

any updates?


Downgrade libtool to 1.5.26. libtool-2.2 breaks a lot of stuff.

pygobject: bug #213715
tunepimp: bug #220565
other libtool breakage: bug #212763


<-- this is from the first part of this huge topic

is it safe now to upgrade to libtool-2.2* while using gcc-4.3 ?
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Aug 21, 2008 3:09 pm    Post subject: Reply with quote

yeah, I am using it for a long time and everything works.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Aug 21, 2008 8:45 pm    Post subject: Reply with quote

unK wrote:
yeah, I am using it for a long time and everything works.


thanks !

I'm re-compiling kde 4.2pre / svn right now and no problems so far

compilation of apps in the future will show if it's really ready for general consumption (the bug tracker suggests so leaving out a few packages I don't have installed (yet) )
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
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: Thu Aug 28, 2008 10:33 pm    Post subject: Reply with quote

GCC 4.3.2 has been released
Waiting for upstream
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Aug 28, 2008 11:08 pm    Post subject: Reply with quote

zorry wrote:
GCC 4.3.2 has been released
Waiting for upstream


finally ! :P

I have been waiting weeks for this release :)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
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: Mon Sep 01, 2008 1:05 am    Post subject: Reply with quote

Any have a new ebuild or patchset for the 4.3.2?
sys-devel/gcc-4.3.2 released bug on b.g.o
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon Sep 01, 2008 3:01 am    Post subject: Reply with quote

gcc-4.3.2 compiled fine, and seems to work fine on ~amd64.
emerge --info:
Portage 2.2_rc8 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-rc5 x86_64)

Kernel compiled fine with it, and I am rebuilding 2 cross-toolchains at the moment (i686-pc-linux-gnu and powerpc-unknown-linux-gnu).
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1159

PostPosted: Wed Sep 03, 2008 7:18 am    Post subject: Reply with quote

compiles and works here.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
HyperQuantum
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2005
Posts: 88

PostPosted: Wed Sep 03, 2008 8:53 pm    Post subject: Reply with quote

On a stable system, is it feasible then to switch to gcc 4.3 on a global basis, or will that force me to add lots of packages to package.keywords (because their stable versions do not compile)?
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1159

PostPosted: Thu Sep 04, 2008 8:59 am    Post subject: Reply with quote

HyperQuantum wrote:
On a stable system, is it feasible then to switch to gcc 4.3 on a global basis, or will that force me to add lots of packages to package.keywords (because their stable versions do not compile)?


i use it globally but then if something doesn't compile you can always use gcc-config to switch to another gcc -v
_________________
this is a strange strange world.
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
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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