View previous topic :: View next topic |
Author |
Message |
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Tue Apr 22, 2008 5:45 pm Post subject: |
|
|
g2g591 wrote: | sorry if this was posted earlier in the thread, but kernel 2.6.25 compiles (and runs) fine with gcc 4.3.0 . |
IIRC kernel 2.6.24 (vanilla) too. |
|
Back to top |
|
|
Eckos Apprentice
Joined: 25 Jan 2008 Posts: 197 Location: Houston, Texas, USA
|
Posted: Sat Apr 26, 2008 7:43 pm Post subject: |
|
|
so far I had no problems with GCC-4.3.1 i wonder when that will enter the tree. Will that be the stable version? _________________ AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2 |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6780
|
Posted: Sun Apr 27, 2008 11:17 am Post subject: |
|
|
SlashBeast wrote: | g2g591 wrote: | sorry if this was posted earlier in the thread, but kernel 2.6.25 compiles (and runs) fine with gcc 4.3.0 . |
IIRC kernel 2.6.24 (vanilla) too. |
Not really: It does not boot when gcc-4.3 is used and acpi is not completely disabled. |
|
Back to top |
|
|
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Sun Apr 27, 2008 4:31 pm Post subject: |
|
|
I can't seem to get GCJ 4.3.0 to build, due to missing a libXtst: Code: | checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for LC_MESSAGES... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for gethostbyname_r... yes
checking whether gethostbyname_r declaration requires -D_REENTRANT... fail
checking for struct hostent_data... no
checking for gethostbyaddr_r... yes
checking for gethostname... yes
checking for usleep... yes
checking for sched_yield... yes
checking for clock_gettime in -lrt... yes
checking for gettimeofday... yes
checking for time... yes
checking for ftime... yes
checking for memmove... yes
checking for memcpy... yes
checking for dlopen in -ldl... (cached) yes
checking for socket libraries... checking for connect... yes
checking for gethostbyname... yes
checking for deflate in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.4... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... yes
checking GLIB_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking GLIB_LIBS... -pthread -lgthread-2.0 -lrt -lglib-2.0
checking for libart-2.0 >= 2.1... yes
checking LIBART_CFLAGS... -I/usr/include/libart-2.0
checking LIBART_LIBS... -lart_lgpl_2
checking for XTestQueryExtension in -lXtst... no
configure: error: libXtst not found, required by java.awt.Robot
make[1]: *** [configure-target-libjava] Error 1
make[1]: Leaving directory `/var/tmp/paludis/sys-devel-gcc-4.3.0/work/build'
make: *** [profiledbootstrap] Error 2
!!! ERROR in sys-devel/gcc-4.3.0:
!!! In gcc_do_make at line 3697
!!! emake failed with profiledbootstrap
!!! Call stack:
!!! * gcc_do_make (/var/tmp/paludis/sys-devel-gcc-4.3.0/temp/loadsaveenv:3697)
!!! * gcc_src_compile (/var/tmp/paludis/sys-devel-gcc-4.3.0/temp/loadsaveenv:3867)
!!! * toolchain_src_compile (/var/tmp/paludis/sys-devel-gcc-4.3.0/temp/loadsaveenv:6259)
!!! * src_compile (/var/tmp/paludis/sys-devel-gcc-4.3.0/temp/loadsaveenv:5790)
!!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:462)
!!! * main (/usr/libexec/paludis/ebuild.bash:480)
diefunc: making ebuild PID 7142 exit with error
die trap: exiting with error.
Install error:
* In program paludis --dl-upgrade as-needed -i gcc:
* When performing install action from command line:
* When executing install task:
* When installing 'sys-devel/gcc-4.3.0:4.3::gentoo':
* Install error: Install failed for 'sys-devel/gcc-4.3.0:4.3::gentoo'
Summary of failures:
* sys-devel/gcc-4.3.0:4.3::gentoo: failure | But the odd thing is that it is installed: Code: | # paludis --query libXtst
* x11-libs/libXtst
gentoo: 1.0.2 1.0.3 {:0}
installed: 1.0.3* {:0}
Description: X.Org Xtst library
Homepage: http://xorg.freedesktop.org/
Relevant USE flags: (-debug)
License: libXtst
Installed time: Mon Apr 21 15:25:47 2008
Source repository: gentoo
| What is the problem? _________________ [ Kawa-kun, new and improved!! ]
Alex Libman seems to be more of an anarchist than a libertarian. |
|
Back to top |
|
|
cneil n00b
Joined: 28 May 2007 Posts: 39 Location: Stillwater, OK
|
Posted: Sun Apr 27, 2008 5:59 pm Post subject: |
|
|
Kenji Miyamoto wrote: | I can't seem to get GCJ 4.3.0 to build, due to missing a libXtst: Code: |
checking for XTestQueryExtension in -lXtst... no
configure: error: libXtst not found, required by java.awt.Robot
make[1]: *** [configure-target-libjava] Error 1
make[1]: Leaving directory `/var/tmp/paludis/sys-devel-gcc-4.3.0/work/build'
make: *** [profiledbootstrap] Error 2
!!! ERROR in sys-devel/gcc-4.3.0:
!!! In gcc_do_make at line 3697
!!! emake failed with profiledbootstrap
| But the odd thing is that it is installed: Code: | # paludis --query libXtst
* x11-libs/libXtst
gentoo: 1.0.2 1.0.3 {:0}
installed: 1.0.3* {:0}
Description: X.Org Xtst library
Homepage: http://xorg.freedesktop.org/
Relevant USE flags: (-debug)
License: libXtst
Installed time: Mon Apr 21 15:25:47 2008
Source repository: gentoo
| What is the problem? |
Try emerging emul-linux-x86-xlibs. I hit this error a while back, and if I remember correctly it was looking for the 32 bit version of libXtst. I assumed it was for multilib or something and forgot about it until now. |
|
Back to top |
|
|
user Apprentice
Joined: 08 Feb 2004 Posts: 209
|
Posted: Tue Apr 29, 2008 6:46 pm Post subject: |
|
|
hi
i update my x86_64 core2 box to gcc-4.3.0 + glibc 2.7 + prelink.
Rebuilding my world takes some time and a few packages failed out of 477. So i add these to /etc/portage/package.keywords:
Quote: |
#gcc 4.3
=sys-libs/glibc-2.7-r2 ~amd64
=sys-devel/gcc-4.3.0 **
# gcc 4.3 compile fix
=dev-libs/libsigc++-2.2.2 ~amd64
=dev-libs/libebml-0.7.8-r1 ~amd64
=sys-libs/libsmbios-0.13.13 ~amd64
=app-cdr/cdrdao-1.2.2-r1 ~amd64
=x11-wm/fluxbox-1.0.0-r2 ~amd64
=dev-cpp/glibmm-2.16.1 ~amd64
=dev-libs/glib-2.16.3 ~amd64
=dev-cpp/gtkmm-2.12.7 ~amd64
=dev-libs/elfutils-0.131-r2 ~amd64
# gcc 4.3 failed
#x11-libs/libsynaptics-0.14.6c bugfix w/ 219548
|
Doing this way:
# emerge glibc
# emerge gcc
change my CFLAGS & LDFLAGS in /etc/make.conf
CFLAGS="-march=native -O2 -pipe -frename-registers"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -s"
# emerge -e world # if failed: unmask newer package and emerge
# emerge --resume --skip-first -e world
# emerge prelink
# env-update
# prelink -amR
todo:
waiting for 2.6.25.1 and gcc 4.3.1
hoping for default gcc-4.3 gentoo profile |
|
Back to top |
|
|
kEiNsTeiN Guru
Joined: 29 Apr 2005 Posts: 361 Location: Germany
|
Posted: Sat May 17, 2008 2:14 am Post subject: |
|
|
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?
Code: | veit@noname ~ $ cat /etc/make.conf
CFLAGS="-O2 -march=core2 -pipe -minline-stringops-dynamically -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
CCACHE_SIZE="2G"
CCACHE_DIR="/root/.ccache"
PKGDIR="/usr/portage/packages"
VIDEO_CARDS="vmware nv nvidia"
LINGUAS="de en_US"
ALSA_CARDS="hda-intel"
INPUT_DEVICES="evdev keyboard mouse vmmouse synaptics"
CHOST="x86_64-pc-linux-gnu"
FEATURES="ccache parallel-fetch"
AUTOCLEAN="yes"
USE="64bit acpi alsa amd64 bluetooth bzip2 cisco crypt dbus disk-partition
flac gif glib glibc-omitfp gnome gstreamer gtk hal htmlhandbook ipw4965
java jingle jpeg kde kdeenablefinal kdehiddenvisibility laptop lm_sensors
messenger mono mp3 mp4 musicbrainz networkmanager nptl nptlonly opengl
openvpn oscar pdf png pptp qt-copy qt3support qt4 sqlite sqlite3 taglib
tiff tls truetype type1 unicode usb userlocales vorbis xcomposite xine
xulrunner xvid zeroconf -apm" |
_________________ make me a sandwich. - what? make it yourself. - sudo make me a sandwich. - okay. |
|
Back to top |
|
|
cneil n00b
Joined: 28 May 2007 Posts: 39 Location: Stillwater, OK
|
Posted: Sat May 17, 2008 4:06 am Post subject: |
|
|
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 |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat May 17, 2008 10:23 am Post subject: |
|
|
First of all, not a lot of stuff, just a few packages, a lot less than gcc 4.3.0 was breaking.
Second, for most of those packages there are already fixes in bugzilla.
So, stop spreading FUD. |
|
Back to top |
|
|
cneil n00b
Joined: 28 May 2007 Posts: 39 Location: Stillwater, OK
|
Posted: Sat May 17, 2008 7:18 pm Post subject: |
|
|
VoidMage wrote: | First of all, not a lot of stuff, just a few packages, a lot less than gcc 4.3.0 was breaking.
Second, for most of those packages there are already fixes in bugzilla.
So, stop spreading FUD. |
19 open bugs in the libtool tracker seems like a lot to me, especially considering many of the open bugs are packages I use. However, "a lot" can vary wildly depending on perspective, I suppose. I meant no offense, and certainly don't want to spread FUD, but merely offered one possible solution.
Oh, and it's in package.mask now:
Code: | # Mike Frysinger <vapier@gentoo.org> (10 May 2008)
# Wait for the # of broken packages to go back down #212763
>=sys-devel/libtool-2.2 |
|
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat May 17, 2008 11:47 pm Post subject: |
|
|
Most of those 'open' bugs either have patches for their problems
or state, that the bug is fixed in the newest release.
And 19 is still less then than gcc 4.3.0 has. |
|
Back to top |
|
|
ukognos n00b
Joined: 25 Feb 2008 Posts: 8
|
|
Back to top |
|
|
Eckos Apprentice
Joined: 25 Jan 2008 Posts: 197 Location: Houston, Texas, USA
|
Posted: Sun Jun 08, 2008 4:53 pm Post subject: |
|
|
sweet!!!!!!!!!!!!!!!!! _________________ AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2 |
|
Back to top |
|
|
warrens Apprentice
Joined: 04 Jan 2005 Posts: 239 Location: Don't Tread On Me!
|
Posted: Mon Jun 09, 2008 4:09 am Post subject: |
|
|
gcc-4.3.1 is in portage _________________ The BIGGER the GOVERNMENT, the smaller the citizen.
DON'T TREAD ON ME!!!
My Bias #1
The best government is the government that governs least. |
|
Back to top |
|
|
Eckos Apprentice
Joined: 25 Jan 2008 Posts: 197 Location: Houston, Texas, USA
|
Posted: Mon Jun 09, 2008 6:57 am Post subject: |
|
|
I wonder now will gcc-4.3.1 come close to being marked stable in a month or two?
Edit: Now we need a 4.4.0 testing thread _________________ AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2 |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Mon Jun 09, 2008 11:25 am Post subject: |
|
|
Eckos wrote: | I wonder now will gcc-4.3.1 come close to being marked stable in a month or two? |
it hit ~arch already. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
Eckos Apprentice
Joined: 25 Jan 2008 Posts: 197 Location: Houston, Texas, USA
|
Posted: Mon Jun 09, 2008 3:00 pm Post subject: |
|
|
unK wrote: | Eckos wrote: | I wonder now will gcc-4.3.1 come close to being marked stable in a month or two? |
it hit ~arch already. |
I know. marked STABLE not marked arch. _________________ AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2 |
|
Back to top |
|
|
tallica Apprentice
Joined: 27 Jul 2007 Posts: 152 Location: Lublin, POL
|
|
Back to top |
|
|
Ken69267 Developer
Joined: 08 Apr 2007 Posts: 111 Location: #gentoo-pr0n
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Mon Jun 09, 2008 4:42 pm Post subject: |
|
|
Afaik this is fixed with >=glibc-2.7-r2, so you have to update your glibc. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
tallica Apprentice
Joined: 27 Jul 2007 Posts: 152 Location: Lublin, POL
|
Posted: Mon Jun 09, 2008 4:44 pm Post subject: |
|
|
unK wrote: | Afaik this is fixed with >=glibc-2.7-r2, so you have to update your glibc. |
thanks, heh I thought so... _________________ Gentoo ~AMD64 | Audacious |
|
Back to top |
|
|
Ken69267 Developer
Joined: 08 Apr 2007 Posts: 111 Location: #gentoo-pr0n
|
Posted: Mon Jun 09, 2008 4:49 pm Post subject: |
|
|
My gcc compiled successfully
[I have 2.8 glibc] _________________ !snack |
|
Back to top |
|
|
tallica Apprentice
Joined: 27 Jul 2007 Posts: 152 Location: Lublin, POL
|
Posted: Mon Jun 09, 2008 6:17 pm Post subject: |
|
|
Compiled fine with glibc-2.7-r2
real 55m3.429s
user 44m0.721s
sys 7m12.530s
_________________ Gentoo ~AMD64 | Audacious |
|
Back to top |
|
|
jarealist Apprentice
Joined: 07 Oct 2002 Posts: 228
|
Posted: Mon Jun 09, 2008 9:47 pm Post subject: |
|
|
I had/ I am having the following problem with gcc-4.3.0 and gcc-4.3.1:
locale-gen
* Generating 4 locales (this might take a while) with 1 jobs
* (1/4) Generating en_US.UTF-8 ...
/usr/sbin/locale-gen: line 264: 17486 Segmentation fault "${DESTDIR}"usr/bin/localedef ${LOCALEDEF_OPTS} -i "${input}" -f "${charmap}" -A "${ALIAS}" --prefix "${DESTDIR}" "${locale}" [ !! ]
* (2/4) Generating en_US.ISO-8859-1 ...
/usr/sbin/locale-gen: line 264: 17491 Segmentation fault "${DESTDIR}"usr/bin/localedef ${LOCALEDEF_OPTS} -i "${input}" -f "${charmap}" -A "${ALIAS}" --prefix "${DESTDIR}" "${locale}" [ !! ]
* (3/4) Generating ja_JP.EUC-JP ...
/usr/sbin/locale-gen: line 264: 17496 Segmentation fault "${DESTDIR}"usr/bin/localedef ${LOCALEDEF_OPTS} -i "${input}" -f "${charmap}" -A "${ALIAS}" --prefix "${DESTDIR}" "${locale}" [ !! ]
* (4/4) Generating ja_JP.UTF-8 ...
/usr/sbin/locale-gen: line 264: 17501 Segmentation fault "${DESTDIR}"usr/bin/localedef ${LOCALEDEF_OPTS} -i "${input}" -f "${charmap}" -A "${ALIAS}" --prefix "${DESTDIR}" "${locale}" [ !! ]
* Generation complete
With gcc-4.2.4 both glibc-2.7r2 and glibc-2.8_p20080602 locale-gen works fine. I am just in the process of recompiling everything with gcc-4.3.1 using emwrap.sh.
Anyone else had this problem or suggestions how to correct it?
Okay, found the problem in a bug report here:
https://bugs.gentoo.org/show_bug.cgi?id=214687 |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
|