* [9fans] 5l compilation
@ 2013-10-21 19:58 Steve Simon
2013-10-21 20:02 ` erik quanstrom
0 siblings, 1 reply; 2+ messages in thread
From: Steve Simon @ 2013-10-21 19:58 UTC (permalink / raw)
To: 9fans
I am trying to build for arm (for my PI) but I cannot
link the linker or the compiler
hugo% objtype=arm
hugo% cd /sys/src/cmd/5l
hugo% mk install
5l -o 5.out asm.5 list.5 noop.5 obj.5 optab.5 pass.5 span.5 enam.5 compat.5 elf.5
lock: undefined: ainc
(813) BL ,ainc+0(SB)
unlock: undefined: adec
(824) BL ,adec+0(SB)
lock: illegal combination BL 0 0 26
(813) BL ,ainc+0(SB)
unlock: illegal combination BL 0 0 26
(824) BL ,adec+0(SB)
lock: illegal combination BL 0 0 26
(813) BL ,ainc+0(SB)
unlock: illegal combination BL 0 0 26
(824) BL ,adec+0(SB)
What am I missing?
-Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] 5l compilation
2013-10-21 19:58 [9fans] 5l compilation Steve Simon
@ 2013-10-21 20:02 ` erik quanstrom
0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2013-10-21 20:02 UTC (permalink / raw)
To: 9fans
On Mon Oct 21 15:58:59 EDT 2013, steve@quintile.net wrote:
> I am trying to build for arm (for my PI) but I cannot
> link the linker or the compiler
>
> hugo% objtype=arm
> hugo% cd /sys/src/cmd/5l
> hugo% mk install
> 5l -o 5.out asm.5 list.5 noop.5 obj.5 optab.5 pass.5 span.5 enam.5 compat.5 elf.5
> lock: undefined: ainc
> (813) BL ,ainc+0(SB)
> unlock: undefined: adec
> (824) BL ,adec+0(SB)
> lock: illegal combination BL 0 0 26
> (813) BL ,ainc+0(SB)
> unlock: illegal combination BL 0 0 26
> (824) BL ,adec+0(SB)
> lock: illegal combination BL 0 0 26
> (813) BL ,ainc+0(SB)
> unlock: illegal combination BL 0 0 26
> (824) BL ,adec+0(SB)
evidently ainc and adec (likely from /sys/src/libc/arm/atom.s)
need to be rebuilt into libc.a
- erik
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-21 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-21 19:58 [9fans] 5l compilation Steve Simon
2013-10-21 20:02 ` erik quanstrom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).