All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] klibc parisc64
@ 2006-07-24 18:27 Kyle McMartin
  2006-07-24 19:01 ` John David Anglin
  0 siblings, 1 reply; 11+ messages in thread
From: Kyle McMartin @ 2006-07-24 18:27 UTC (permalink / raw)
  To: parisc-linux; +Cc: klibc

I hacked out a rough first implementation of parisc64 for klibc
last month, and only just got around to testing it now.

The good news, it compiled fine on the first shot. The bad news,
it failed to link usr/klibc/libc.so, and I'm not clueful enough
to know why.

hppa64-linux-gnu-ld  -Ttext 0x40001000 -o usr/klibc/libc.so --start-group
[...]
usr/klibc/socketcalls/recvmsg.o /usr/lib/gcc/hppa64-linux-gnu/4.1.2/libgcc.a --end-group
hppa64-linux-gnu-ld: warning: cannot find entry symbol main; defaulting to 0000000040001000
hppa64-linux-gnu-ld: usr/klibc/libc.so: Not enough room for program headers (allocated 5, need 6)
 Section to Segment mapping:
  Segment              Sections...
  00:           PHDR:  
  01:         INTERP:  .interp 
  02:           LOAD:  .interp .dynamic .hash .dynsym .dynstr 
  03:           LOAD:  .text .rodata .PARISC.unwind .eh_frame 
  04:           LOAD:  .data.rel.ro .data .opd .dlt .bss 
  05:        DYNAMIC:  .dynamic 
hppa64-linux-gnu-ld: final link failed: Bad value
make[2]: *** [usr/klibc/libc.so] Error 1
make[1]: *** [all] Error 2
make: *** [klibc] Error 2

You can fetch it from
git://git.kernel.org/pub/scm/linux/kernel/git/kyle/klibc-parisc64.git,
and compile it with:

make CROSS_COMPILE=hppa64-linux-gnu- ARCH=parisc64 V=1

(It seemed to build without warning on my Debian etch rp2470)

Any hints would be appreciated.

Cheers,
	Kyle M.
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-07-25  3:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-24 18:27 [parisc-linux] klibc parisc64 Kyle McMartin
2006-07-24 19:01 ` John David Anglin
2006-07-24 19:28   ` Kyle McMartin
2006-07-24 19:50     ` John David Anglin
2006-07-24 19:35   ` John David Anglin
2006-07-24 22:41     ` [klibc] " H. Peter Anvin
2006-07-24 22:55       ` H. Peter Anvin
2006-07-24 23:11         ` John David Anglin
2006-07-24 23:17           ` H. Peter Anvin
2006-07-25  1:46             ` Kyle McMartin
2006-07-25  3:09               ` John David Anglin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.