Skip to contentSkip to conversation

Building a hexagon cross compiler

DISCUSSION David Howells 3 participants 5 messages Jul 15, 2014 – Jul 24, 2014 1 message not in the archive Qualcomm hexagon architecture

lore
Share & tools
lore
#0 lore raw

Hi Richard,

I'd like to build a Hexagon cross-compiler to go with the other Fedora cross compilers that I have. I don't see support in binutils-2.24 and gcc-4.9.0 though. Do I take it that Hexagon has its own special cross compiler build?

David

A message that is not in the archive (sent off-list or not yet received): CAHrUA374VW4j1tDUzss3L4Xezp0-g21b7zCYgw-2gafheaS+sQ@mail.gmail.com

#2 lore raw

Resending, with the html markup turned off.

--linas

Quoted 8 lines · David Howells
Quoted 7 lines

Hi Richard,

I'd like to build a Hexagon cross-compiler to go with the other Fedora cross compilers that I have. I don't see support in binutils-2.24 and gcc-4.9.0 though. Do I take it that Hexagon has its own special cross compiler build?

Quoted 6 lines · Linas Vepstas

If I remember correctly, Mentor's Code Sourcercy division was supposed to be maintaining and merging the hexagon gcc patches upstream. glibc too. Last time I used this (many years ago) it all worked great, with almost all of the glibc test suite passing, including the wild tangle of thread-local storage, thread joins, thrown exceptions, stack unwinding, gdb and signals all happening at the same time. There were only a handful of rare, obscure cases that didn't pass. I know, as I did the work to make this all go.

I hope all this work isn't slowly being lost ...

--linas

#3 lore raw
In reply to a message not in the archive
Quoted 8 lines · Linas Vepstas

If I remember correctly, Mentor's Code Sourcercy division was supposed to be maintaining and merging the hexagon gcc patches upstream. glibc too. Last time I used this (many years ago) it all worked great, with almost all of the glibc test suite passing, including the wild tangle of thread-local storage, thread joins, thrown exceptions, stack unwinding, gdb and signals all happening at the same time. There were only a handful of rare, obscure cases that didn't pass. I know, as I did the work to make this all go.

Quoted 22 lines

I hope all this work isn't slowly being lost ...

--linas

Quoted 14 lines · David Howells

Hi Richard,

I'd like to build a Hexagon cross-compiler to go with the other Fedora cross
compilers that I have. I don't see support in binutils-2.24 and gcc-4.9.0 though. Do I take it that Hexagon has its own special cross compiler build?

David
--
To unsubscribe from this list: send the line "unsubscribe linux-hexagon" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Sorry for the late response. As Linas mentioned, Mentor maintains the that set of tools. That latest version that was released can be found here:

https://sourcery.mentor.com/GNUToolchain/release2800

I haven't had a chance to test these tools myself though.

Hope that helps.

-Richard Kuo

Signature · 3 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
#4 lore raw
Quoted 4 lines · rkuo

Sorry for the late response. As Linas mentioned, Mentor maintains the that set of tools. That latest version that was released can be found here:

https://sourcery.mentor.com/GNUToolchain/release2800

gcc-4.6 and a similarly aged binutils. Do they have anything newer, and can they push it upstream?

David

#5 lore raw
Quoted 11 lines · David Howells
Quoted 4 lines · rkuo

Sorry for the late response. As Linas mentioned, Mentor maintains the that set of tools. That latest version that was released can be found here:

https://sourcery.mentor.com/GNUToolchain/release2800

gcc-4.6 and a similarly aged binutils. Do they have anything newer, and can they push it upstream?

David

Unfortunately, it looks like 'no' on both counts. The focus is on ... other toolchains at the moment.

-Richard Kuo

Signature · 3 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation