Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC-4.1.0 Overlay
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Thu Mar 09, 2006 8:04 pm    Post subject: GCC-4.1.0 Overlay Reply with quote

I have made an overlay for GCC on http://www.metalshark.co.uk/overlays you might need gcc-4.1.0-piepatches-v8.7.8.tar.bz2 if you have Gentoo Mirrors set in your make.conf.
_________________
Gentoo's Portage: Any ideas for reform?


Last edited by metalshark on Fri Mar 10, 2006 2:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Thu Mar 09, 2006 8:13 pm    Post subject: Reply with quote

What's the difference between your overlay and gcc 4.1.0 from portage?
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Thu Mar 09, 2006 8:26 pm    Post subject: Well Reply with quote

I opened this forum to move stuff off http://forums.gentoo.org/viewtopic-t-402539-highlight-.html, the gcc I use contains patches and fixes for a number of architectures from Fedora CVS. I also included the full set of Dirtyepic patches. Any patches that introduce regressions are commented out and are deemed unsafe - however some people have asked for them and so they are included in their muted state. I am working on adding another ebuild for the 20060303 snapshot with SSP support, however until I fix issues with amd64 and pentium 2's I will not update the overlay (if it's not stable this end it won't be stable your end). Snapshot ebuilds will never override release ebuilds - so both will be included.

Some packages refused to build using gcc-4.1.0 throughout the pre/beta releases of Gentoo, whilst many packages were updated for gcc-4.1.0 plently of rarely used ones have slipped the net. I use this overlay for work where I maintain too many boxes to want to fix issues so I include safe bug/performance patches to reduce my efforts of moving to gcc-4.1.0 on desktops.

The official ebuild has issues on some systems I use of going from gcc-3 to gcc-4.1.0. I have had no such issues with this overlay on the same boxes without changing anything else.
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Fri Mar 10, 2006 6:40 pm    Post subject: New overlay Reply with quote

I've added a -r2 ebuild and a new snapshop that should work starting from tonight (please don't use the snapshop till they release it :D).
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Fri Mar 10, 2006 9:39 pm    Post subject: Reply with quote

awesome metalshark, you know I will use the snapshot for my guide ;)
_________________
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
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Fri Mar 10, 2006 9:43 pm    Post subject: Excellent Reply with quote

Have been monitoring the CVS and when the release is put up all the SSP woes of late should be gone - but I have done the -r2 for those of you who want an ebuild tested on lots of machines and archs.
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 448
Location: Wisconsin

PostPosted: Sat Mar 11, 2006 4:15 am    Post subject: Reply with quote

i used you overlay about 4 days ago, actually just got emerge -e world done, paused and resumed a few times, pye is a life saver. anyways the version i have is r1, should i wait until the ssp woes get worked out, (im hoping it will be within a week ) to ungrade;) :?: :roll: anywas its running great no problems at all heres my emerge --info


Code:
Portage 2.1_pre5-r4 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r0, 2.6.16-rc3-nitro1 i686)
=================================================================
System uname: 2.6.16-rc3-nitro1 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -ftracer -fweb -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -ftracer -fweb -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X akode alsa apm avi berkdb bitmap-fonts crypt dri eds emboss encode flash foomaticdb fortran gdbm gif glibc-omitfp gpm gstreamer gtk gtk2 imlib insecure-savers ipv6 java javascript jpeg kde kdeenablefinal kdenewldflags kdexdeltas libg++ libwww mad mikmod motif mozilla mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl spell sse sse2 ssl symlink tcpd tiff truetype truetype-fonts type1-fonts vorbis win32codecs xine xml2 xmms xscreensaver xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS, MAKEOPTS
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Sat Mar 11, 2006 10:45 am    Post subject: Ssp Reply with quote

Well the SSP testing is starting here - there seems to be lots of seperate counter productive development on this. I am trying my best to stick the required patches together and forward port them - but it's not fun... The -r2 isn't really necessary I just made it easier to uncomment patches and uncommented all the safe ones.
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Sat Mar 11, 2006 4:42 pm    Post subject: Troubleshooting central Reply with quote

Now hardly anyone has a problem with gcc-4.1.0 who's ready for the next battle with breaking apps?

http://www.metalshark.co.uk/gcc-4.2.0.20060304.ebuild
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Mar 14, 2006 3:30 am    Post subject: Well Reply with quote

GCC-4.2.0 runs fine without borking on GLIBC 2.4 (for x86 not ppc) - but don't use -bdirect in your LDFLAGS for it if you want your system to work correctly (experienced some strange issues)...
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1952
Location: Poland

PostPosted: Tue Mar 14, 2006 9:52 am    Post subject: Reply with quote

/me votes for gcc 4.2 beta thread
EDIT: this gcc-cross-compile patch might be a saver for me, as I used distcc to compile on AMD64 for my 32-bit laptop, it saved me much time, but worked only for gcc 4.0.2. I will try and emerge cross gcc 4.1 on AMD64 soon...
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1952
Location: Poland

PostPosted: Tue Mar 14, 2006 11:39 am    Post subject: Reply with quote

OK, I have gcc 4.1.0-xxxxxxx overlay compiled on my laptop and I think there's nasty bug (in ebuild?) concerning use of /usr/lib/gcc/i686-pc-linux-gnu/4.1.1 directory (missing files that i found in /usr/lib/gcc/i686-pc-linux-gnu/4.1.0-20060310 and copied to ../4.1.1). Could you double check it? It caused "compiler cannot make executables error".
I upgraded "regular" 4.1.0 version from portage to your gcc overlay, I haven't any other gcc version on my laptop.
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Mar 14, 2006 12:30 pm    Post subject: That issue Reply with quote

You need to use the
Code:
fix_libtool_files.sh
script to point you to the correct files. Also with the runaway success of gcc-4.2 (didn't expect it to actually work) I am gonna be concerntrating on that branch. My patch choices are gonna be in gcc-4.1.1 but will keep the overlay up till then.

Have 4.2-ssp working but it is borking amd64 and ppc64 so am not releasing till an emerge -e world works on both (with a test set of 4000+ commonly used applications). Just made a place holder ebuild for 20060310 to help testers, but I personally moved straight onto 4.2 releases and am only really suggesting use of the -r1/2 releases. -r1 has been tested extensively and -r2 has been tested slightly less but with no reported issues. Sorry guys who want me to test 4.1 snapshots, but if it's gonna be a snapshot release I really do want cutting edge :D
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1952
Location: Poland

PostPosted: Tue Mar 14, 2006 12:47 pm    Post subject: Reply with quote

Right, fix_libtool_files.sh was the first thing I tried, but it failed and complained about missing /lib/rcscripts/awk/fixlafiles.awk (it's not working even after copying files from 4.1.1 directory). Close, but no cigar!
I might go to 4.2 release also, but I'm a little reluctant now (like is my 2.6.16-rc4-no1 kernel with rt2500 module from CVS going to like that?).
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Mar 14, 2006 1:17 pm    Post subject: Reply with quote

Not familiar with the rt2500 is it some kinda wifi driver - as madwifi, ipw2100/200 and ndiswrapper all work fine this side with a 2.6.16-nitro1-rc3 kernel. The current ebuild is non ssp but is also non borking ;)

You might wanna try re-emerging libstdc++ and/or libstdc++-v3, also using nxsty's glibc 2.4 overlay and split xorg-7. This is a typical setup I test under:

Quote:
Gentoo Base System version 1.12.0_pre16
Portage 2.1_pre6-r2 (default-linux/x86/2006.0, gcc-4.2.0-20060304, glibc-2.4-r0, 2.6.16-rc3-nitro1 i686)
=================================================================
System uname: 2.6.16-rc3-nitro1 i686 AMD Athlon(tm) XP 3200+
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python: 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.91.0.6
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE -falign-functions=64 -falign-jumps=64 -falign-labels=64 -falign-loops=64 -fbounds-check -fforce-addr -finline-functions -finline-limit=64 -fno-ident -foptimize-register-move -foptimize-sibling-calls -fprefetch-loop-arrays -fthread-jumps -ftracer -m3dnow -maccumulate-outgoing-args -march=athlon-4 -mcpu=athlon-4 -mfpmath=sse -minline-all-stringops -mmmx -mno-sse2 -mno-sse3 -momit-leaf-frame-pointer -msse -mtune=athlon-4 -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/boot /etc /usr/bin/emerge /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE -falign-functions=64 -falign-jumps=64 -falign-labels=64 -falign-loops=64 -fbounds-check -fforce-addr -finline-functions -finline-limit=64 -fno-ident -foptimize-register-move -foptimize-sibling-calls -fprefetch-loop-arrays -fthread-jumps -ftracer -m3dnow -maccumulate-outgoing-args -march=athlon-4 -mcpu=athlon-4 -mfpmath=sse -minline-all-stringops -mmmx -mno-sse2 -mno-sse3 -momit-leaf-frame-pointer -msse -mtune=athlon-4 -O3 -ffriend-injection -fno-enforce-eh-specs -fpermissive -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache digest distcc fixpackages metadata-transfer parallel-fetching prelink sandbox sfperms strict suidctl userpriv usersandbox"
GENTOO_MIRRORS=" http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://gentoo.intergenia.de http://www.gtlib.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://darkstar.ist.utl.pt/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://ds.thn.htu.se/linux/gentoo http://gentoo.channelx.biz/ http://prometheus.cs.wmich.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://fido.online.kz/gentoo http://ftp.romnet.org/gentoo/ http://ftp.physics.auth.gr/pub/mirrors/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://ftp.club-internet.fr/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.caliu.info/pub/gentoo/ http://modzer0.cs.uaf.edu/public/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.etf.bg.ac.yu/gentoo http://gentoo.modulix.net/gentoo/ http://mirror.aiya.ru/pub/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.espri.arizona.edu/gentoo/ http://gentoo.prz.rzeszow.pl http://ftp.twaren.net/Linux/Gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.seren.com/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.ynet.sk/pub http://ftp.swin.edu.au/gentoo http://ftp.citkit.ru/pub/Linux/gentoo http://ftp.du.se/pub/os/gentoo http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.chem.wisc.edu/gentoo/ http://ftp.lug.ro/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://ftp.ankara.edu.tr/gentoo/ http://gentoo.gg3.net/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.ITDNet.net/gentoo http://gentoo.ngi.it http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.mirrored.ca/ http://gentoo.inf.elte.hu/ http://gentoo.inode.at/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.cs.lewisu.edu/gentoo/ http://src.gentoo.pl http://gentoo.netnitco.net http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.po.opole.pl http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.zie.pg.gda.pl http://gentoo.kems.net http://gentoo.llarian.net/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.blueyonder.co.uk http://ftp.heanet.ie/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://mirror.gentoo.no/ http://ftp.isu.edu.tw/pub/Linux/Gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-java-experimental /usr/local/gnome-experimental /usr/local/portage-xgl /usr/local/xgl-coffee /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acct acl acpi adns aio akode alsa aotuv asf asm async audiofile authdaemond automount avi bash-completion bashlogger berkdb bl boundschecking browserplugin bzip2 cairo cddb cdparanoia cdr chroot crypt css cups curl custom-cflags d3d dcop dga doc dts dv dvb dvd dvdr dvdread dxr3 dynamic edl emboss encode erandom ethereal exif expat extrafilters fam fame fbcon ffmpeg fftw firefox flac fltk font-server fontconfig foomaticdb gcc4ssp gif gimp gimpprint gimpshop glitz gnutls gphoto2 gpm gtk gtk2 gtkhtml hal hardened howl idb idn ieee1394 ifp imagemagick imlib ipod ipv6 ithreads jack jack-tmpfs jade java javascript jikes joystick jpeg jpeg2k junit justify kde kdeenablefinal kdexdeltas kerberos ladcca lcms ldap ldapsam libcaca libdsk libedit libg++ libwww lirc live logrotate lzo mad madwifi mailwrapper mikmod mjpeg mmap mmx mmxext mng modplug mozcalendar mozdevelop mozilla moznoxft mozsvg mp3 mpeg msn multicall musepack musicbrainz nas ncurses network nis nls nomalloccheck nptl nptlonly nsplugin nvidia odbc ogg on-the-fly-crypt openexr opengl openjade openntpd osc oss pam pam_chroot pam_console pam_timestamp parse-clocks pdf pdflib perl pertty physfs pic png portaudio ppds prelude profile psyco pwdb python qt quicktime quotas readline real risky rle rtc samba sametime sasl savedconfig scanner sdk sdl sendfile shaper skey slang slp sndfile snmp softquota soundtouch spamassassin speex spell sse ssl streamzap svg svga swat switch_all_desktops symlink syslog tablet tcltk tcpd test tetex tga theora threads tiff toolbar tools truetype truetype-fonts udev unicode urandom usb userlocales v4l v4l2 vcd vdr verbose vidix visualization vorbis webdav wifi win32codecs winbind wmf xanim xcomposite xine xinerama xml xml2 xpm xv xvid xvmc yv12 zeroconf zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux linguas_en_GB userland_GNU video_cards_nvidia"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS

_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1952
Location: Poland

PostPosted: Tue Mar 14, 2006 1:47 pm    Post subject: Reply with quote

For now, I emerged gcc 4.2 and copied missing .awk file from /usr/portage/sys-devel/gcc/files/awk. I'm off to recompiling toolchain with gcc 4.2 ATM.
EDIT: configure: error: cannot computer sizeof (long double), 77 when trying to compile nxsty glibc 2.4 overlay.
aaaaand it's the same failure "C compiler cannot create executables" because of missing lib* files in 4.2.0 directory in /lib (they are found in 4.2.0-20060304 directory). Not an ebuild bug? ;) Could it be gcc-config bug?
BTW, I'm not using multislot.
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Mar 14, 2006 2:05 pm    Post subject: Reply with quote

The long size errors were all gone till I added ssp back in... Argh!!! Sorry I really don't know how to fix - I just keep everything up to date and trim (not patronising just explaining myself) to avoid such issues. If the snapshop does give you long size errors without ssp then I need to pull the ebuild. You might wanna try re-emerging gawk and mawk. Most people don't have mawk installed but apparently it's faster yet less used.

Have managed to get 32bit/64bit Apple systems, AMD 32/64/X2/Opterons and Intel Pentium III/Centrinos to build and work ok with the 4.2 snapshot but if you recieving borkage then can you do an emerge --info and I'll pull the plug on it (till we know what makes it break) before more people get probs. Deeply sorry for the agro.
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1952
Location: Poland

PostPosted: Tue Mar 14, 2006 2:10 pm    Post subject: Reply with quote

long size errors disappeared after I copied missing gcc lib* files. that was the issue. now happily compiling glibc, but I fear that in future emerge might crap itself because of my file copying (like not updating them when new gcc 4.2 snapshot shows up).
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Mar 14, 2006 2:14 pm    Post subject: Reply with quote

Well I keep having issues with that folder that fix_libtool_files.sh doesn't fix - I think it's page 27 onwards on the official gcc-4.1 forum thread I mention the way I fix those issues (remove the old and symlink it to the new) and got a "well done on borking your toolchain" comment (or similar) from Tiger (who I trust to know his stuff) so refrained from suggesting the fix to anyone else.
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Mar 14, 2006 2:21 pm    Post subject: Reply with quote

Well as this is my own ebuild I'll get it to automate fix_libtool_files.sh on older builds and auto switch to the 4.2 snapshot based on a use flag (like up2date as no-one is likely to use fedora's package management system on Gentoo). Will be latest snapshot though. Should fix issues like this automagically :D. Will keep it as a seperate script though, so that you don't have to emerge again to use it ;)
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1952
Location: Poland

PostPosted: Tue Mar 14, 2006 2:25 pm    Post subject: Reply with quote

Yeah, I found this:
Quote:
metalshark wrote:
To recompile KSnapShot, etc go into

/usr/lib/gcc/i686-pc-linux-gnu

and do an ls - now remove everything using an rm -fr that isn't 4.1.0 - then do an ln -s with the full path - i.e.

rm -fr /usr/lib/gcc/i686-pc-linux-gnu/4.1.0-pre20060223
ls -s /usr/lib/gcc/i686-pc-linux-gnu/4.1.0 /usr/lib/gcc/i686-pc-linux-gnu/4.1.0-pre20060223


Congratulations for breaking your toolchain configuration. gcc-config + emerge -P gcc would have worked much better...

also for hardwired paths in libraries you simply do
Code:

fix_libtool_files.sh 4.1.0-pre20060223


T


I just forgot about this, but I prefered to copy files instead of symlinking dirs... I still have the feeling it's gcc-config bug.
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1952
Location: Poland

PostPosted: Tue Mar 14, 2006 2:30 pm    Post subject: Reply with quote

But why there are two separate dirs (e.g. 4.2.0 and 4.2.0-20060304 or 4.1.1 and 4.1.0-20060310) in /usr/lib/gcc/i686-pc-linux-gnu?
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Mar 14, 2006 2:56 pm    Post subject: Reply with quote

mbar wrote:
But why there are two separate dirs (e.g. 4.2.0 and 4.2.0-20060304 or 4.1.1 and 4.1.0-20060310) in /usr/lib/gcc/i686-pc-linux-gnu?


Because I am an amateur with Gentoo overlays - these are my first set of ebuilds - only came here from Slackware in January and am learning the package distribution system as quickly as possible. Any suggestions will be credited and ammended asap.
_________________
Gentoo's Portage: Any ideas for reform?
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1952
Location: Poland

PostPosted: Tue Mar 14, 2006 3:18 pm    Post subject: Reply with quote

I have NO experiences with making ebuilds ;) but...
First clue: after reading "toolchain.eclass" from /usr/portage/eclass I came to conclusion that you have to set SNAPSHOT variable in your ebuild. Remember that you "inherit toolchain" in your ebuild.
Pls take a look at this (outdated) overlay: http://snigel.no-ip.com/~nxsty/linux/gcc-overlay.tar.bz2 There you can see SNAPSHOT="4.0-20051117". I think it is needed to properly set up 4.2.0-2006xxxx subdirs in /usr/lib/gcc/.........
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Mar 14, 2006 3:52 pm    Post subject: Reply with quote

mbar wrote:
I have NO experiences with making ebuilds ;) but...
First clue: after reading "toolchain.eclass" from /usr/portage/eclass I came to conclusion that you have to set SNAPSHOT variable in your ebuild. Remember that you "inherit toolchain" in your ebuild.
Pls take a look at this (outdated) overlay: http://snigel.no-ip.com/~nxsty/linux/gcc-overlay.tar.bz2 There you can see SNAPSHOT="4.0-20051117". I think it is needed to properly set up 4.2.0-2006xxxx subdirs in /usr/lib/gcc/.........


Just finished a mDNSResponder overlay - after posting a bug report I'll start on the new snapshot - cheers for the link :D
_________________
Gentoo's Portage: Any ideas for reform?
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 1, 2, 3  Next
Page 1 of 3

 
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