Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.3.0 -> 4.5.2-PS3 Errors #4

Open
earthmeLon opened this issue Jul 6, 2011 · 7 comments
Open

4.3.0 -> 4.5.2-PS3 Errors #4

earthmeLon opened this issue Jul 6, 2011 · 7 comments

Comments

@earthmeLon
Copy link

I have been trying to upgrade my gcc 4.3.0 to 4.4 or higher. My initial attempt was with 4.6.1, which I have been told will not compile on anything lower than 4.4.5.

After not being able to resolve issues with compiling 4.6.1, I noticed this git was available. With both 4.6.1 and 4.5.2-PS3, I am getting the same issue on make: http://pastie.org/private/nby2e0m02bjrdfhl7ciixq

This is the output of my ./configure http://pastie.org/private/0i6lbatykvhuisltldor7w

Here is some more information about my environment:
[melon@bifrost gcc-4.5.2-PS3]$ gcc -v
Using built-in specs.
Target: ppc64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --enable-secureplt --with-long-double-128 --build=ppc64-redhat-linux --target=ppc64-redhat-linux --with-cpu=default32
Thread model: posix
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)

[melon@bifrost gcc-4.5.2-PS3]$ uname -a
Linux bifrost 2.6.39.2-ps3 #1 SMP Sat Jul 2 20:41:31 CDT 2011 ppc64 ppc64 ppc64 GNU/Linux

Any help resolving this issue and getting a version of gcc 4.4 or greater on my PS3 would be much appreciated :D

@zeldin
Copy link
Member

zeldin commented Jul 6, 2011

Looks like a problem wih your host compiler. Can you try upgrading that to 4.5.2 first? (Although it could be a problem with your host binutils too, what version do you have for that?)

@earthmeLon
Copy link
Author

Thanks for the response. I am currently looking into upgrading binutils: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739#c33

@zeldin
Copy link
Member

zeldin commented Jul 6, 2011

Ok, that looks like a good candidate, yes. For the record, I'm using binutils 2.21 on Linux/PPC (32 bit) and have no troubles with building the toolchain.

@earthmeLon
Copy link
Author

I have since installed binutils-2.21.1 from http://ftp.gnu.org/gnu/binutils/ and attempted ./configure && make on gcc-4.5.2-PS3 . It seem I am having the same issue as before: http://pastie.org/private/tvpyfmwkrbeku3zat29bw

@earthmeLon
Copy link
Author

[melon@bifrost src]$ as -v
GNU assembler version 2.18.50.0.6 (ppc-redhat-linux) using BFD version version 2.18.50.0.6-2 20080403

Does this mean my installation of binutils-2.21.1 didn't take?

[melon@bifrost ~]$ /usr/bin/ld -v
GNU ld version 2.18.50.0.6-2 20080403
[melon@bifrost ~]$ /usr/local/bin/ld -v
GNU ld (GNU Binutils) 2.21.1

Figured out what's going on. Should be able to attempt a build using binutils 2.21.1 shortly.

@ooPo
Copy link
Member

ooPo commented Jul 7, 2011

Are you trying to build a PS3 cross-compiler, or trying to update the local gcc on your otheros installation?

@earthmeLon
Copy link
Author

I am running Linux through OtherOS. I am trying to build a gcc whos version is greater than or equal to 4.4.
Upgrading binutils has helped and gotten me further into compilation:

http://pastie.org/private/fynjrdnefdlbk1qlxlw8qq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants