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
Hi Prefix users on AIX!
(how many do we have right now?)

Another round in introducing "soname" support on AIX - now done in gcc-4.2.4.

Due to usr/bin/aixdll-query being used by preserve-libs feature, but written in C++,
as well as another portage bug ignoring executables for preserved-libs, switching the
gcc-libraries to the "aix-soname" style breaks your AIX prefix.

More details in

Either you start over from scratch, or try this upgrade path:

1) cp usr/powerpc-ibm-aix*/lib/gcc/libstdc++.a lib/   # to keep aixdll-query working
2) emerge --sync
3) emerge -1 portage                      # for the preserve-libs portage bugs
4) emerge -1 gcc-config gcc               # for and
5) emerge -e @system @world               # to list executables into NEEDED.XCOFF.1
6) rm lib/libgcc_s.a lib/libstdc++.a      # clean up orphaned files

Sorry for the inconvenience!
Michael Haubenwallner
Gentoo on a different level