FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 06-17-2011, 12:33 PM
Michael Haubenwallner
 
Default break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++)

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 http://bugs.gentoo.org/show_bug.cgi?id=213277#c22

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 libgcc_s.so and libstdc++.so
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!
/haubi/
--
Michael Haubenwallner
Gentoo on a different level
 
Old 06-17-2011, 12:57 PM
Perry Smith
 
Default break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++)

It would be interesting to see how many users you have.

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.

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.



On Jun 17, 2011, at 7:33 AM, Michael Haubenwallner wrote:

> 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 http://bugs.gentoo.org/show_bug.cgi?id=213277#c22
>
> 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 libgcc_s.so and libstdc++.so
> 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!
> /haubi/
> --
> Michael Haubenwallner
> Gentoo on a different level
>
 
Old 06-18-2011, 01:47 AM
 
Default break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++)

Hi haubi,

thank you for your nice job. Glad to see library policy in AIX prefix is
revised and improved.

I have been idle for a while.

There was an device upgrade in our lab. But I still have my AIX prefix
around on one server. I will test your modification when I have a nice
piece of spare time.

Regards,
Benda
--
XU Benda
Research Center for Neutrino Science
Tohoku University
JAPAN

http://www.awa.tohoku.ac.jp/~benda
 
Old 08-13-2011, 08:46 AM
Benda Xu
 
Default break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++)

Hi haubi,

I have tested the new soname linking scheme on AIX 5.2, bootstrapped with the help of old Prefix(nearly 150 days old) from scratch.

This is realy fantastic! I suppose this is the best practice for soname under AIX, and best mimics the behavior of runtime linking of GNU monolith. Everything essential is emerged so smooth that I couldn't even believe myself using* AIX! The only two issues I encounter were bug 378915 and bug 378905.


You are creating a* marvel, Micheal. Thanks a ton!

BTW, Perry, give it a try. It worths.

Yours,
Benda

On Fri, Jun 17, 2011 at 9:33 PM, Michael Haubenwallner <haubi@gentoo.org> wrote:

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 http://bugs.gentoo.org/show_bug.cgi?id=213277#c22



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


--
XU Benda
Research Center for Neutrino Science
Tohoku University
JAPAN

http://www.awa.tohoku.ac.jp/~benda
 
Old 08-13-2011, 08:53 AM
Fabian Groffen
 
Default break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++)

On 13-08-2011 17:46:30 +0900, Benda Xu wrote:
> Hi haubi,
>
> I have tested the new soname linking scheme on AIX 5.2, bootstrapped with
> the help of old Prefix(nearly 150 days old) from scratch.
>
> This is realy fantastic! I suppose this is the best practice for soname
> under AIX, and best mimics the behavior of runtime linking of GNU monolith.
> Everything essential is emerged so smooth that I couldn't even believe
> myself using* AIX! The only two issues I encounter were bug [1]378915 and
> bug 378905.
>
> You are creating a* marvel, Micheal. Thanks a ton!

w00t!


--
Fabian Groffen
Gentoo on a different level
 
Old 08-22-2011, 01:05 PM
Michael Haubenwallner
 
Default break your AIX prefix: "aix-soname" even for gcc libraries (gcc_s, stdc++)

On 08/13/2011 10:46 AM, Benda Xu wrote:
> Hi haubi,
>
> I have tested the new soname linking scheme on AIX 5.2, bootstrapped with
> the help of old Prefix(nearly 150 days old) from scratch.
>
> This is realy fantastic! I suppose this is the best practice for soname
> under AIX, and best mimics the behavior of runtime linking of GNU monolith.
> Everything essential is emerged so smooth that I couldn't even believe
> myself using AIX! The only two issues I encounter were bug 378915 and
> bug 378905.
>
> You are creating a marvel, Micheal. Thanks a ton!

Oh my dear, thank you for the flowers!

However, what I've seen in the update-snapshots just before my holidays:
After taking a few more ebuilds from gentoo-x86 rather than prefix-overlay,
they (again) lack 'elibtoolize', which is still necessary to activate the
"aix-soname", even if the packages ship with recent libtool.

Btw, that updating from "aix-soname" to "non-aix-soname" showed another bug
in portage's preserve-libs handling for AIX, IIRC breaking svn when updating
sqlite IIRC. So I'll have to debug again...

Anyway, it's time now to convince GNU upstream (libtool, gcc, maybe others)
this being the Right Thing (tm).

In the meantime, we still have to (tell gx86-devs to please) keep 'elibtoolize'
for AIX...

/haubi/
--
Michael Haubenwallner
Gentoo on a different level
 

Thread Tools




All times are GMT. The time now is 07:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org