Skip to main content
Handling problematic GCC in Gentoo ;-)

almuqaddis ~ # gcc-config -l
[1] i686-pc-linux-gnu-3.3.5 *
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.4
[6] i686-pc-linux-gnu-3.4.4-hardened
[7] i686-pc-linux-gnu-3.4.4-hardenednopie
[8] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[9] i686-pc-linux-gnu-3.4.4-hardenednossp

almuqaddis ~ # gcc-config 5
* Switching to i686-pc-linux-gnu-3.4.4 compiler ... [ ok ]

* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:

* # source /etc/profile

almuqaddis ~ # . /etc/profile

almuqaddis ~ # fix_libtool_files.sh
Usage: fix_libtool_files.sh [--oldarch ]

Where is the version number of the
previous gcc version. For example, if you updated to
gcc-3.2.1, and you had gcc-3.2 installed, run:

# fix_libtool_files.sh 3.2

If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu
but you now have CHOST as i686-pc-linux-gnu, run:

# fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu

Note that if only the CHOST and not the version changed, you can run
it with the current version and the '--oldarch ' arguments,
and it will do the expected:

# fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu

almuqaddis ~ # fix_libtool_files.sh 3.4
* Scanning libtool files for hardcoded gcc library paths...
* [1/9] Scanning /lib ...
* [2/9] Scanning /usr/lib ...
* FIXING: /usr/lib/libtunepimp.la ...[]
* FIXING: /usr/lib/gnome-vfs-2.0/modules/libfile.la ...[]
* FIXING: /usr/lib/libfam.la ...[]
* [3/9] Scanning /opt/blackdown-jdk-1.4.2.01/jre/lib/i386 ...
* [4/9] Scanning /usr/games/lib ...
* [5/9] Scanning /usr/i686-pc-linux-gnu/lib ...
* [6/9] Scanning /usr/kde/3.3/lib ...
* [7/9] Scanning /usr/kde/3.4/lib ...
* [8/9] Scanning /usr/local/lib ...
* [9/9] Scanning /usr/qt/3/lib ...

Comments

Popular posts from this blog

Danga Bay, Chevrolet Optra and bio...(eh?) I thought it was Debian(haha). My colleague point me to the AirAsia flight turbin and he told me, "Macam debian punya logo" I saw a spiral on top the turbin blades. Pretty much like Debian Logo That's spark me to shoot for a pix. And I was warned by the airport staff. Uh,uh. Flash lamp will spark burst,eh? I was presented my "mock" research proposal. Suggested "Profiling Bioinformatics Application Behavior on Distributed Computing Architecture". Eh, will this gonna be bioinformatics specific or hardware optimization specific.or? Flashback: I spent almost a week at the office. When it's Subh azan,went back to my house for bath and pray. Reading all the journals and papers was not funny,really. Tough eye balls. No world cup. Ewh. And have some VCD lure. Uh,uh. you gonna be kidding. Anyway, I learned a lot and UTM SLAB Research Course is no joke. Really. My proposal has been corrected with comments so I have
Gue dengan S2 gue. Sronok banget!