You are not logged in.

#26 2005-03-30 19:42:13

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Arch - i586 - Repo [Project Start]

Sorry for DHCP you also need the following patch for gcc343:

--- includes/dhcpd.h.orig       2005-03-30 14:31:45.000000000 -0500
+++ includes/dhcpd.h    2005-03-30 14:32:46.000000000 -0500
@@ -263,7 +263,7 @@
        FTS_ABANDONED = 5,
        FTS_RESET = 6,
        FTS_BACKUP = 7
-} binding_state_t;
+} __attribute__((packed)) binding_state_t;

 /* FTS_LAST is the highest value that is valid for a lease binding state. */
 #define FTS_LAST FTS_BACKUP
@@ -306,9 +306,9 @@
 #      define EPHEMERAL_FLAGS          (MS_NULL_TERMINATION | 
                                         UNICAST_BROADCAST_HACK)

-       binding_state_t __attribute__ ((mode (__byte__))) binding_state;
-       binding_state_t __attribute__ ((mode (__byte__))) next_binding_state;
-       binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state;
+       binding_state_t binding_state;
+       binding_state_t next_binding_state;
+       binding_state_t desired_binding_state;

        struct lease_state *state;

Offline

#27 2005-03-30 20:16:27

laxity
Member
Registered: 2004-07-01
Posts: 14

Re: Arch - i586 - Repo [Project Start]

i managed to build glibc this configure option: "--without-__thread"

Offline

#28 2005-03-30 21:37:54

luisfelipe
Member
Registered: 2004-05-06
Posts: 96

Re: Arch - i586 - Repo [Project Start]

guys, just a tip from when I was compiling arch stuff on my i586 : ccache and distcc are your friends. Actually , they are your best friends.

Offline

#29 2005-03-31 13:17:01

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Arch - i586 - Repo [Project Start]

laxity wrote:

i managed to build glibc this configure option: "--without-__thread"

I believe this disables TLS but will NPTL still work?

Offline

#30 2005-03-31 13:27:16

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Arch - i586 - Repo [Project Start]

For rp-ppoe add the adsl script to the "source=" in PKGBUILD.
http://bugs.archlinux.org/index.php?do=details&id=2482

Offline

#31 2005-03-31 14:12:06

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Arch - i586 - Repo [Project Start]

The at pkg requires /usr/bin/sendmail to build.  The pkgbuild should have a (make)dependency of 'smtp-server'.  Install postfix, exim, courier-mta, or ssmtp.  Or you might be able to "touch /usr/bin/sendmail".

Offline

#32 2005-04-03 16:37:29

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: Arch - i586 - Repo [Project Start]

For rp-ppoe add the adsl script to the "source=" in PKGBUILD.

hm rp-pppoe compiled fine here

Offline

#33 2005-04-04 09:00:29

Disc-Devil
Member
Registered: 2005-03-07
Posts: 33

Re: Arch - i586 - Repo [Project Start]

hm rp-pppoe compiled fine here

maci

You have an odd box :PP

I will soon paste something here, to tell what pkg's and so on that are done, in the meantime... look at the newsletter at www.archlinux.org big_smile

Holaromba !!

D-D

Offline

#34 2005-04-05 22:00:33

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Arch - i586 - Repo [Project Start]

After much struggle, my i586 is running Arch!!! I used a "recent" unofficial i586 ISO but it paniced during bootup, with the IDE and the SCSI kernel. I then downloaded the official i586 boot floppies and booted off those.

I loaded the modules I needed and started the Arch setup. I wasn't able to install the packages using the CD because pacman used "Server = local://" instead of "Server = file://" and there was nothing I could do about it: if I changed /etc/pacman.conf, pacman overwrote it with its default pacman.conf as soon as I hit "install packages".
It took me a while to figure it out, but I decided to host the unofficial CD on the FTPd of my Windows box (FTPd's for Windows are so easy to config tongue). And ... IT WORKED! big_smile

Only problem was to install the kernel: pacman from Arch 0.5 uses "kernel" or "kernel-scsi" as the packagename but on my 0.7 CD it was "kernel24" or "kernel26" so I decided to compile a custom kernel on my main workstation. It was a bitch to get it copied to the server, but in the end I got it done.

After all this (and about 6 hours of running up and down the stairs between my workstation and my server) I could boot the system. Unfortunately there was no "initial console" because I had no udev installed. I sorted that out and after upgrading the initscripts-package, udev was not only installed but even started at boot!

At that point, I had a booting i586 system. It's a Compaq, so the memory recognized by the kernel was only 16MB. To get this fixed, I had to use lilo instead of grub because grub didn't pass the boot options correctly (memmap=240M@16M).

It's all sorted out now, and I'm trying to run "pacman -Syu" to upgrade to the latest packages by Disc-Devil and others. I soon hope to be able to set up a virtual environment so contributors can SSH into my box and start compiling packages.

What a Linux experience this was! smile


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#35 2005-04-06 06:18:34

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: Arch - i586 - Repo [Project Start]

After all this (and about 6 hours of running up and down the stairs between my workstation and my server) I could boot the system

heh at least you have some muscles now wink

Offline

#36 2005-04-06 22:00:27

Disc-Devil
Member
Registered: 2005-03-07
Posts: 33

Re: Arch - i586 - Repo [Project Start]

Some news big_smile

We have struggled really hard with the glibc.. have twisted, and bended it, and threathened it and, only god knows what....

We (maci) has managed to build it big_smile however, without linuxthreads, so no kernel24 support for now....

If we find a way to build it with linuxthreads, and thereby will be able to support kernel24 we will of course announce it here.

But, for now, we don't support kernel24. maci, has been able to create a new install cd, with the new versions of pkgs. big_smile Now, that is cool.

Furthermore, i have re-structure some at the reposerver, wich is beeing hosted by syamajala.
http://genesis.blogdns.net/packages/i586/

As you can see, i have separated the repo into current & extra now. big_smile

The install-cd is to be found in the iso folder.

Have fun. big_smile

//--// Disc-Devil

Offline

#37 2005-04-06 22:19:10

luisfelipe
Member
Registered: 2004-05-06
Posts: 96

Re: Arch - i586 - Repo [Project Start]

Well , I already offered this before, but it doesn't hurt to say again.
I can host any amount of files you want, on a computer in my university (which goes to say that there's no bandwidth limit tongue) . I don't know if I can create an account for you guys there, but I could probably upload stuff there if you want.

My 586 has died, so I won't be able to benefit from this, but it would be great to have other people having fun with arch on their old hardware tongue

Great work.

Offline

#38 2005-04-06 23:47:12

rjs
Member
Registered: 2004-04-20
Posts: 23

Re: Arch - i586 - Repo [Project Start]

It seems that the packages are all accessible, however the iso cannot be downloaded.

It seems to be a permissions problem.

ERROR 403: Forbidden

The same error is given for glibc in the current directory

Offline

#39 2005-04-07 12:54:28

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: Arch - i586 - Repo [Project Start]

heh i guess disc devil forgot to set the chmods after uploading wink

I can host any amount of files you want, on a computer in my university (which goes to say that there's no bandwidth limit tongue) . I don't know if I can create an account for you guys there, but I could probably upload stuff there if you want.

wee that would be nice.. having the repo on a Uni server smile

maybe you guys should hang out in #archlinux-i586 on icr.freenode.net too

Offline

#40 2005-04-07 14:10:37

Disc-Devil
Member
Registered: 2005-03-07
Posts: 33

Re: Arch - i586 - Repo [Project Start]

heh i guess disc devil forgot to set the chmods after uploading

What? i have to do that? tongue

*hm* okay, I havent done it for the other pkg's... but.. okay..

I will see what i can do.. hehe big_smile

*ooops*

Offline

#41 2005-04-07 19:48:20

rjs
Member
Registered: 2004-04-20
Posts: 23

Re: Arch - i586 - Repo [Project Start]

the files can now be downloaded, thanks Disc-Devil

Offline

#42 2005-04-08 12:15:57

Disc-Devil
Member
Registered: 2005-03-07
Posts: 33

Re: Arch - i586 - Repo [Project Start]

IMPORTANT NOTICE

Due to the fact, that glibc refused to build with linuxthreads, we decided to build without them as they are obsolete in kernel26.

However, this seems to cause to many errors, so i will build the latest 2.3.3 glibc later on this day, replacing the one in the repo. I will have maci replace it on the install cd too.

Then we will wait, for them to fix glibc-2.3.4, or untill we find a solution to the problem.

By doing this, we will also support kernel24.

My appologys, to you all.  :oops:

Keep it up !

//--// Disc-Devil

Offline

#43 2005-04-08 12:22:54

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Arch - i586 - Repo [Project Start]

I'm still using glibc-2.3.2-3 by Dennis Herbrich. How do I know if it has linuxthreads compiled in? I'm compiling pkg's for i586 and I wouldn't want them to be unusable.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#44 2005-04-08 16:04:43

Disc-Devil
Member
Registered: 2005-03-07
Posts: 33

Re: Arch - i586 - Repo [Project Start]

Well... You are most certanly using a glibc with linuxthreads built in.

The different PKGBUILD's for glibc i have seen on the cvs, clearly states, it they are built with out linuxthreads.

If im not mistaken, i uses this glibc too right now, so you should be fine big_smile

And, if for some reason, im am fooling you know, you are allowed to hit me. tongue

=======
D-D

Offline

#45 2005-04-09 10:28:54

Disc-Devil
Member
Registered: 2005-03-07
Posts: 33

Re: Arch - i586 - Repo [Project Start]

Very Important Notice

It has come to our knowledge, that glibc with 'linuxthreads' is technically impossible to build on i586, they are not needed either.

So, we will have to start from scratch, and rebuild everything with the new glibc without 'linuxthreads'. This is kinda a punch in the face, but, we will get it right; "native i586".

This will slow down the progress major, but im glad we found out now, and not later.

Thanks to ya all, that is helping out.

[maci] I guess i should bite you, but i wont. tongue [/maci]

===============
Disc-Devil

Offline

#46 2005-04-09 10:33:00

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: Arch - i586 - Repo [Project Start]

heh dont bite me .. bite the GNU guys..

anyway .. this is my progress:

base is almost finished and a new iso is comming today too ^^

Offline

#47 2005-04-09 21:33:56

combo
Member
Registered: 2004-09-22
Posts: 28

Re: Arch - i586 - Repo [Project Start]

Hi!

I've made a sysupdate from http://genesis.blogdns.net/packages/i586/.
I was really suprised when I realized, that the new glibc doesn't work with my 2.4.29 kernel (FATAL: kernel too old). So, I'm quite disappointed now. I don't like 2.6.x kernel, because on my old machine the 2.4.x kernel is much faster.
But I'd like to use the new packages (firefox 1.0.1, xfce 4.2.1) without a new kernel (and to tell the truth I don't want to recompile my good working stuffs (shfs, dhahelper,..., DRI module), either). And the downgrade is a big work, too.
So I'd like to ask the maintainer of this site to make a glibc 2.3.4 which works with 2.4.x kernels too. (I'm sure that most i586 owners still use 2.4.x kernel).

THX: combo

PLZ don't misunderstand me, thanks for continuing Arch/i586 project (which is a difficult work)

Offline

#48 2005-04-09 22:12:14

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Arch - i586 - Repo [Project Start]

Disc-Devil wrote:

Very Important Notice

It has come to our knowledge, that glibc with 'linuxthreads' is technically impossible to build on i586...

It seems odd that such would be the case. Where did you get that information?
Is that true for only recent versions of glibc? I believe older versions used to build fine with linuxthreads..
anyway, if that is indeed the case, then maybe you could try using an NPTL 2.4kernel. I think redhat has kernel source with nptl laying around somewhere..


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#49 2005-04-10 09:21:43

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: Arch - i586 - Repo [Project Start]

Where did you get that information?

from the ppl who wrote glibc and linuxthreads

well i run 2.6 kernel on my i586 machine
doesnt seem to be slow

i will try to get a working version of glibc with 2.4 support

Offline

#50 2005-04-12 21:53:12

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Arch - i586 - Repo [Project Start]

I'm getting many compilation errors that seem to have to do with ld. While compiling vice-1.15, I got this (last output I have on the terminal):

../src/resid/libresid.a(sid.o)(.text+0xa56): In function `SID::set_sampling_parameters(double, sampling_method, double, double, double)':
: undefined reference to `operator new[](unsigned int)'
../src/resid/libresid.a(sid.o)(.text+0xc48): In function `SID::set_sampling_parameters(double, sampling_method, double, double, double)':
: undefined reference to `operator new[](unsigned int)'
../src/resid/libresid.a(sid.o)(.text+0xc5f): In function `SID::set_sampling_parameters(double, sampling_method, double, double, double)':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.text+0x29): In function `SID::~SID()':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.text+0x69): In function `SID::~SID()':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
../src/resid/libresid.a(voice.o)(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
distcc[19209] ERROR: compile (null) on localhost failed
make[3]: *** [x128] Error 1
make[3]: *** Waiting for unfinished jobs....
../src/arch/unix/libarch.a(archdep.o)(.text+0x5b9): In function `archdep_tmpnam':
: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../src/arch/unix/libarch.a(archdep.o)(.text+0x5b9): In function `archdep_tmpnam':
: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../src/sid/libsid.a(resid.o)(.text+0x12): In function `resid_open':
: undefined reference to `operator new(unsigned int)'
../src/sid/libsid.a(resid.o)(.text+0x4f): In function `resid_open':
: undefined reference to `operator delete(void*)'
../src/sid/libsid.a(resid.o)(.text+0x2f0): In function `resid_close':
: undefined reference to `operator delete(void*)'
../src/sid/libsid.a(resid.o)(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
../src/resid/libresid.a(sid.o)(.text+0x35): In function `SID::~SID()':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.text+0x75): In function `SID::~SID()':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.text+0x865): In function `SID::set_sampling_parameters(double, sampling_method, double, double, double)':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.text+0x87e): In function `SID::set_sampling_parameters(double, sampling_method, double, double, double)':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.text+0xa56): In function `SID::set_sampling_parameters(double, sampling_method, double, double, double)':
: undefined reference to `operator new[](unsigned int)'
../src/resid/libresid.a(sid.o)(.text+0xc48): In function `SID::set_sampling_parameters(double, sampling_method, double, double, double)':
: undefined reference to `operator new[](unsigned int)'
../src/resid/libresid.a(sid.o)(.text+0xc5f): In function `SID::set_sampling_parameters(double, sampling_method, double, double, double)':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.text+0x29): In function `SID::~SID()':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.text+0x69): In function `SID::~SID()':
: undefined reference to `operator delete[](void*)'
../src/resid/libresid.a(sid.o)(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
../src/resid/libresid.a(voice.o)(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
distcc[19221] ERROR: compile (null) on localhost failed
make[3]: *** [xcbm2] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/extra/emulators/vice/src/vice-1.15/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/abs/extra/emulators/vice/src/vice-1.15/src'
make: *** [all-recursive] Error 1

I posted as much as I could for further diagnostics, but the most frequent error I get with packages that fail is:

collect2: ld returned 1 exit status

Does anyone know how to fix this?


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

Board footer

Powered by FluxBB