Re: [9fans] runebase breaking libs build

2015-01-20 Thread Zbigniew Radosz
Hi 9fans,

I also attempted to build amd64 version some time ago, and it failed in
libc. I gave up then, but since someone brought this up, let me ask my
question here.

Bell Labs doesn't distribute amd64 binaries. It seems
 you are running a compiler built before the long rune
 change (before May 2013), but the sources are more recent.

 In this case, you need to re-bootstrap the compiler,
 as described here:

 http://9fans.net/archive/2013/05/81


I followed this one and it solves the runebase problem, but libc build
still fails as there is no amd64 subdir in libc. Looks like the labs
version does not have amd64 code for libc. Is that correct? And is libc the
only missing part?

-- 
Zbigniew Radosz


Re: [9fans] runebase breaking libs build

2015-01-20 Thread Quintile
there are a few subdirectories that need to be created when you build the amd64 
code for the first time. maybe it would be nice to have a /sys/lib/newobjtype 
script to help, but  if you just:

cd /sys/src
objtype=amd64 mk install

and create the directories as needed you should be ok

-Steve





On 20 Jan 2015, at 09:50, David du Colombier 0in...@gmail.com wrote:

 I followed this one and it solves the runebase problem, but libc build still
 fails as there is no amd64 subdir in libc. Looks like the labs version does
 not have amd64 code for libc. Is that correct? And is libc the only missing
 part?
 
 Yes, some parts of the amd64 user space are missing in
 the Bell Labs distribution. You have you apply these patches:
 
 hget http://9legacy.org/9legacy/patch/amd64.diff | ape/patch -p0
 hget http://9legacy.org/9legacy/patch/amd64-fix.diff | ape/patch -p0
 
 Also, you have to create the sub-directories in /amd64/bin.
 
 You can take a look to my notes available here:
 
 http://9legacy.org/9legacy/doc/nix/usage
 
 -- 
 David du Colombier



Re: [9fans] runebase breaking libs build

2015-01-20 Thread Zbigniew Radosz

 Yes, some parts of the amd64 user space are missing in
 the Bell Labs distribution. You have you apply these patches:

 hget http://9legacy.org/9legacy/patch/amd64.diff | ape/patch -p0
 hget http://9legacy.org/9legacy/patch/amd64-fix.diff | ape/patch -p0

 Also, you have to create the sub-directories in /amd64/bin.

 You can take a look to my notes available here:

 http://9legacy.org/9legacy/doc/nix/usage


Thanks David, that worked fine. Now I just need a 64-bit kernel :) I saw
the nix and 9k notes on 9legacy. I'll give it a shot.

-- 

Zbigniew Radosz


Re: [9fans] runebase breaking libs build

2015-01-20 Thread David du Colombier
 I followed this one and it solves the runebase problem, but libc build still
 fails as there is no amd64 subdir in libc. Looks like the labs version does
 not have amd64 code for libc. Is that correct? And is libc the only missing
 part?

Yes, some parts of the amd64 user space are missing in
the Bell Labs distribution. You have you apply these patches:

hget http://9legacy.org/9legacy/patch/amd64.diff | ape/patch -p0
hget http://9legacy.org/9legacy/patch/amd64-fix.diff | ape/patch -p0

Also, you have to create the sub-directories in /amd64/bin.

You can take a look to my notes available here:

http://9legacy.org/9legacy/doc/nix/usage

-- 
David du Colombier



Re: [9fans] http://9fans.net/archive/ not up to date

2015-01-20 Thread David du Colombier
 It's the first time I see http://9fans.net/archive/ not reflecting
 today's e-mails.

 Worse than this the last message if from Sun, 16 Nov 2014 12:15:15 +0100.

 I think http://9fans.net/archive/ is precious and hope nothing is going
 wrong.

Yes, I've pinged Russ two months ago, but I think he's busy with other things.

-- 
David du Colombier



[9fans] http://9fans.net/archive/ not up to date

2015-01-20 Thread Nicolas Bercher

It's the first time I see http://9fans.net/archive/ not reflecting
today's e-mails.

Worse than this the last message if from Sun, 16 Nov 2014 12:15:15 +0100.

I think http://9fans.net/archive/ is precious and hope nothing is going
wrong.

Nicolas



Re: [9fans] runebase breaking libs build

2015-01-20 Thread erik quanstrom
On Tue Jan 20 04:10:48 PST 2015, st...@quintile.net wrote:
 there are a few subdirectories that need to be created when you build the 
 amd64 code for the first time. maybe it would be nice to have a 
 /sys/lib/newobjtype script to help, but  if you just:
 
 cd /sys/src
 objtype=amd64 mk install
 
 and create the directories as needed you should be ok

objtype=amd64 cd $objtype/bin  mkdir -p ape auth aux bitsy dial disk fossil 
fs games ip ip/httpd ndb rune opc replica upas venti usb

we don't add arches very often, so i've just created the full set of 
directories in 9atom.

by the way, the default 9atom install is amd64.  so there's no need to convert. 
 it will
also build 386 and arm exes at install time, too.

- erik



Re: [9fans] runebase breaking libs build

2015-01-20 Thread lucio
 mkdir -p ape auth aux bitsy dial disk fossil fs games ip ip/httpd ndb rune 
 opc replica upas venti usb

Shouldn't this be in a proto file?

bin
ape
auth
aux
bitsy
dial
disk
fossil
fs
games
ip
httpd
ndb
rune
opc
replica
upas
venti
usb

Whenever my mind wonders off thinking about revision control in Plan
9, my first thought is how useful proto would be as a building block
for that and other applications.  Yet it very seldom gets any mention,
I really don't think it ought to be forgotten.

Lucio.

PS: Off topic, the last posting to comp.os.plan9 in Google seems to
date back to September 2013.  Am I the first to notice?