Gentoo Archives: gentoo-alt

From: Perry Smith <pedzsan@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++)
Date: Fri, 17 Jun 2011 12:57:34
Message-Id: F7CC5524-6C9A-4C5A-965B-E60DED0B9382@gmail.com
In Reply to: [gentoo-alt] break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++) by Michael Haubenwallner
1 It would be interesting to see how many users you have.
2
3 I've never got mine up and decided to roll my own but then, as usual, got side tracked (by that AIX assembler bug) and I've never got back to it.
4
5 The bringup is too painful for me. I can get from zero to the place I want to go to quicker by hand than I can get prefix up.
6
7
8
9 On Jun 17, 2011, at 7:33 AM, Michael Haubenwallner wrote:
10
11 > Hi Prefix users on AIX!
12 > (how many do we have right now?)
13 >
14 > Another round in introducing "soname" support on AIX - now done in gcc-4.2.4.
15 >
16 > Due to usr/bin/aixdll-query being used by preserve-libs feature, but written in C++,
17 > as well as another portage bug ignoring executables for preserved-libs, switching the
18 > gcc-libraries to the "aix-soname" style breaks your AIX prefix.
19 >
20 > More details in http://bugs.gentoo.org/show_bug.cgi?id=213277#c22
21 >
22 > Either you start over from scratch, or try this upgrade path:
23 >
24 > 1) cp usr/powerpc-ibm-aix*/lib/gcc/libstdc++.a lib/ # to keep aixdll-query working
25 > 2) emerge --sync
26 > 3) emerge -1 portage # for the preserve-libs portage bugs
27 > 4) emerge -1 gcc-config gcc # for libgcc_s.so and libstdc++.so
28 > 5) emerge -e @system @world # to list executables into NEEDED.XCOFF.1
29 > 6) rm lib/libgcc_s.a lib/libstdc++.a # clean up orphaned files
30 >
31 > Sorry for the inconvenience!
32 > /haubi/
33 > --
34 > Michael Haubenwallner
35 > Gentoo on a different level
36 >