Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++)
Date: Fri, 17 Jun 2011 12:34:19
Message-Id: 4DFB49AD.5000802@gentoo.org
1 Hi Prefix users on AIX!
2 (how many do we have right now?)
3
4 Another round in introducing "soname" support on AIX - now done in gcc-4.2.4.
5
6 Due to usr/bin/aixdll-query being used by preserve-libs feature, but written in C++,
7 as well as another portage bug ignoring executables for preserved-libs, switching the
8 gcc-libraries to the "aix-soname" style breaks your AIX prefix.
9
10 More details in http://bugs.gentoo.org/show_bug.cgi?id=213277#c22
11
12 Either you start over from scratch, or try this upgrade path:
13
14 1) cp usr/powerpc-ibm-aix*/lib/gcc/libstdc++.a lib/ # to keep aixdll-query working
15 2) emerge --sync
16 3) emerge -1 portage # for the preserve-libs portage bugs
17 4) emerge -1 gcc-config gcc # for libgcc_s.so and libstdc++.so
18 5) emerge -e @system @world # to list executables into NEEDED.XCOFF.1
19 6) rm lib/libgcc_s.a lib/libstdc++.a # clean up orphaned files
20
21 Sorry for the inconvenience!
22 /haubi/
23 --
24 Michael Haubenwallner
25 Gentoo on a different level

Replies