9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Sparc port / kl  or libsec.a issue ?
@ 2002-04-02  4:54 plan9
  0 siblings, 0 replies; 3+ messages in thread
From: plan9 @ 2002-04-02  4:54 UTC (permalink / raw)
  To: 9fans



I tried to build all Sparc libraries

I had to create /sys/src/libmp/makefile  and /sys/src/libsec/mkfile so that port libs are installed (no arch specific code right now).

Then it worked

But when compiling /sys/src/cmd/cpu.c,

kl claims that :

k^l  -o k.cpu cpu.k
srvauthnonce: undefined: des56to64
	JMPL	,des56to64+0(SB)

mk: k^l  -o ...  : exit status=rc 38470:kl 38472:error


nm reveals that des56to64 is actually a global member of compiled /sparc/lib/libsec.a

cpu1% nm /sparc/lib/libsec.a |grep 56
des.k:         T des56to64
des.k:         T des64to56

I tried a newer version of /sys/src/cmd/kl/*   (TX Charles)

I removed /saprc/lib/*  , made a mk clean within /sys/src/...  , rebuild kl, libs and cmd
It changed nothing



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

* Re: [9fans] Sparc port / kl  or libsec.a issue ?
@ 2002-04-02  8:12 plan9
  0 siblings, 0 replies; 3+ messages in thread
From: plan9 @ 2002-04-02  8:12 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

Well,

That definively looks like a kl issue !!!

ipquery compiles by hand with the following command

	kl  -o k.ipquery ipquery.k /sys/src/libip/classmask.k /sys/src/libip/readipifc.k  /sys/src/libip/eipconv.k

I attached /sparc/lib/libip.a

[-- Attachment #2: libip.a --]
[-- Type: application/octet-stream, Size: 30836 bytes --]

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

* Re: [9fans] Sparc port / kl  or libsec.a issue ?
@ 2002-04-02  7:24 plan9
  0 siblings, 0 replies; 3+ messages in thread
From: plan9 @ 2002-04-02  7:24 UTC (permalink / raw)
  To: 9fans

The issue seems to be /sys/src/libsec/port/des.k within /sparc/lib/libsec.a  (TX Lucio)

Does anyone have some time to have a look at /sys/src/libsec/port/mkfile and understand why des.k is a vicious problem ?

It works by hand with for libsec related commands :

	cpu1% cd /sys/src/cmd/agent
	cpu1% kl  -o k.out config.k fs.k main.k p9sk1.k prototab.k util.k strtomp.k apop.k plan9.k raw.k ssh.k /sys/src/libsec/port/des.k
then
	cpu1% mk install

<plan9@itic.ca> a crit dans le message news:<FIEDLHOOAEHBJAPIKGJCIEMGCAAA.plan9@itic.ca>...


I tried to build all Sparc libraries

I had to create /sys/src/libmp/makefile  and /sys/src/libsec/mkfile so that port libs are installed (no arch specific code right now).

Then it worked

But when compiling /sys/src/cmd/cpu.c,

kl claims that :

k^l  -o k.cpu cpu.k
srvauthnonce: undefined: des56to64
	JMPL	,des56to64+0(SB)

mk: k^l  -o ...  : exit status=rc 38470:kl 38472:error


nm reveals that des56to64 is actually a global member of compiled /sparc/lib/libsec.a

cpu1% nm /sparc/lib/libsec.a |grep 56
des.k:         T des56to64
des.k:         T des64to56

I tried a newer version of /sys/src/cmd/kl/*   (TX Charles)

I removed /saprc/lib/*  , made a mk clean within /sys/src/...  , rebuild kl, libs and cmd
It changed nothing

----------



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

end of thread, other threads:[~2002-04-02  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-02  4:54 [9fans] Sparc port / kl or libsec.a issue ? plan9
2002-04-02  7:24 plan9
2002-04-02  8:12 plan9

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).