Mailinglist Archive: opensuse-buildservice (132 mails)

< Previous Next >
Re: [opensuse-buildservice] [RFC] Is there any plan to add ILP32 support for aarch64?
  • From: Bamvor Zhang <bamv2005@xxxxxxxxx>
  • Date: Tue, 27 Jan 2015 22:34:48 +0800
  • Message-id: <CAOijeYKaVitBWzaOX1NSb6dxhVEh0frB=c1oN9g4xYe1k97okQ@mail.gmail.com>
2015-01-27 19:19 GMT+08:00 Jan Engelhardt <jengelh@xxxxxxx>:

On Tuesday 2015-01-27 12:03, Bamvor Jian Zhang wrote:

Yes. our gcc could compile ilp32 on aarch64. But it failed in linking:

# cat main.c
int main(){return 0;}
# gcc-4.9 -mabi=ilp32 main.c -o main.ilp32 -nostdlib -nostartfiles -v
--save-temps

I would assume that -mabi is only used for compilation, not linking.
For linking, -m32/-mx32/-m64 would be needed. What the proper flag
for aarch is though, I know not.
Thanks. hope I could find it out.

regards

bamvor
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >