This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with '-static' in 3.0 release on AIX


On 06/25/2001 08:16:31 PM David Edelsohn wrote:
>
>       Did you ever install the broken build of the compiler?  Did you

Yes

> run any applications with the shared libraries that you built earlier?

I did run a few simple test apps I use to check the compiler is working.

> need to run the AIX /usr/sbin/slibclean command (which only can be run 
by
> root) to remove the stale copies of the library from the shared library
> segment.
> 
>       Try that and see if your problem still is present.

Didn't make a difference.
The broken compiler was not even in the path while I was doing the latest 
compile (though a old version of gcc  2.95.2 was in the path, the build 
process used cc).  Do you think I need to do a slibclean (and possibly a 
reboot) before building the compiler?  Any other ideas?

How do I tell what version of AIX as/ld I am using - maybe I have a 
version with a weird bug?
In case I fat fingered something - here is the seuqence of steps I used to 
do a manual bootstrap (copied from command line history)

[/disk1/tmp/gcc3/go2]-> type as
as is /usr/bin/as
[/disk1/tmp/gcc3/go2]-> type ld 
ld is /usr/bin/ld

export SHELL=/usr/local/bin/bash
export CONFIG_SHELL=/usr/local/bin/bash
md go2; cd go2
/disk1/tmp/gcc3/gcc-3.0/configure --prefix=/opt/gcc-3.0
make all-zlib all-libiberty
cd gcc
make LANGUAGES=c
make stage1
make CC="stage1/xgcc -Bstage1" CFLAGS="-O2 -g"
make stage2
make CC="stage2/xgcc -Bstage2/" CFLAGS="-O2 -g"
cd ..
make all-target-libiberty all-target-libf2c all-target-libobjc
ln -s /opt/gnupro/aix43-000718/H-powerpc-ibm-aix4.3.3.0/bin/as gcc/as
make SHELL=/usr/local/bin/bash CONFIG_SHELL=/usr/local/bin/bash 
all-target-libstdc++-v3
sudo bash
make install


Matt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]