Skip to contentSkip to conversation

64-bit toolchain for Solaris 10 on amd64?

Qemu-devel Eric Lowe 3 participants 3 messages Nov 9, 2006

lore
Share & tools
lore

Eric Lowe

author
#0 lore raw
Quoted 3 lines

the blastwave toolchain installed as suggested, the gcc 3.4.5 still does not support -m64. For example, when compiling a simple test program (with just an empty main() function):

$ /opt/csw/gcc3/bin/gcc -m64 /tmp/test.c
/tmp/test.c:1: sorry, unimplemented: 64-bit mode not compiled in

Hmph. I would suggest you take this up with the maintainer of the gcc packages on Blastwave.

Quoted 2 lines

this is also of course true with the default gcc that comes with Solaris, the one from sunfreeware, as well as any GCC that I can

I do not know if the latest S10 update release gcc in /usr/sfw/bin has all of the fixes needed to compile QEMU correctly, but I do know that compiler does have 64-bit support.

Quoted 3 lines

I understand that the Open Solaris project has binaries already compiled, but I need to build QEMU from source on my own on this platform, and it has to be a 64-bit binary.

The binaries I built originally were built using the /usr/sfw/bin/gcc on OpenSolaris build 46... no magic. I do not recall which toolchain was used by Martin to build the packages. Hopefully Martin is watching this and will respond on what he did to build the packages. ;)

- Eric

____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

#1 lore raw

Fantastic, thank you. I did indeed try the sfw gcc and it compiles okay with -m64, but it does not use GNU ld and has problems linking. I need to revisit that because I think there is a solution that I am missing. I also did send email to the blastwave maintainers but have not received a response yet.

Thanks again for your help,

Leo Reiter

Quoted 39 lines · Eric Lowe
Quoted 3 lines

the blastwave toolchain installed as suggested, the gcc 3.4.5 still does not support -m64. For example, when compiling a simple test program (with just an empty main() function):

$ /opt/csw/gcc3/bin/gcc -m64 /tmp/test.c
/tmp/test.c:1: sorry, unimplemented: 64-bit mode not compiled in

Hmph. I would suggest you take this up with the maintainer of the gcc packages on Blastwave.

Quoted 2 lines

this is also of course true with the default gcc that comes with Solaris, the one from sunfreeware, as well as any GCC that I can

I do not know if the latest S10 update release gcc in /usr/sfw/bin has all of the fixes needed to compile QEMU correctly, but I do know that compiler does have 64-bit support.

Quoted 3 lines

I understand that the Open Solaris project has binaries already compiled, but I need to build QEMU from source on my own on this platform, and it has to be a 64-bit binary.

The binaries I built originally were built using the /usr/sfw/bin/gcc on OpenSolaris build 46... no magic. I do not recall which toolchain was used by Martin to build the packages. Hopefully Martin is watching this and will respond on what he did to build the packages. ;)

- Eric

____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#2 lore raw
In reply to Eric Lowe

Fantastic, thank you. I did indeed try the sfw gcc and it compiles okay with -m64, but it does not use GNU ld and has problems linking. I need to revisit that because I think there is a solution that I am missing. I also did send email to the blastwave maintainers but have not received a response yet.

Thanks again for your help,

Leo Reiter

Quoted 39 lines · Eric Lowe
Quoted 3 lines

the blastwave toolchain installed as suggested, the gcc 3.4.5 still does not support -m64. For example, when compiling a simple test program (with just an empty main() function):

$ /opt/csw/gcc3/bin/gcc -m64 /tmp/test.c
/tmp/test.c:1: sorry, unimplemented: 64-bit mode not compiled in

Hmph. I would suggest you take this up with the maintainer of the gcc packages on Blastwave.

Quoted 2 lines

this is also of course true with the default gcc that comes with Solaris, the one from sunfreeware, as well as any GCC that I can

I do not know if the latest S10 update release gcc in /usr/sfw/bin has all of the fixes needed to compile QEMU correctly, but I do know that compiler does have 64-bit support.

Quoted 3 lines

I understand that the Open Solaris project has binaries already compiled, but I need to build QEMU from source on my own on this platform, and it has to be a 64-bit binary.

The binaries I built originally were built using the /usr/sfw/bin/gcc on OpenSolaris build 46... no magic. I do not recall which toolchain was used by Martin to build the packages. Hopefully Martin is watching this and will respond on what he did to build the packages. ;)

- Eric

____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel