[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489019: Vortex86SX chip



version that worked was Debian oldstable (Sarge). It seems the glibc was compiled for 486 then. I am filing this bug more-of a (wish) than a (bug). There should be someway for developers to compile code that would work correctly on any i386 target without having to chroot in another environment. This is the purpose of the -m32 and the multilib anyway!!

Sorry, but there are really different tasks:

1) be able to run 32 bit binaries on current 64 bit system

2) be able to cross-build binaries for another system

3) install 32-bit packages on corresponding 64-bit system.

For 1), you can assume i.e. i686 capabilities on all x86-64 systems,
i.e. CMOV, SSE, ...
Exactly this assumes supporting library in libc6-i386
and libc6-dev-i386 packages, they also contain static library and
startup files linked into any executable.

You are really cross-building to another system, only by coincidence
your 64 bit system is able to run these cross-built binaries.

You did not answer my very important question:

What is the kernel of your target system

The current i386 and amd64 libc does not support 2.4 kernel series,
the amd64 system from etch also does not support 2.4 kernel series.

So, easiest sollution for you is really to install 32-bit chroot on your 64 bit machine. After that, you should be able to produce correct binaries for i486 and above CPUs (plain i386 is not supported).

Iff target kernel is 2.4.x, you have to choose etch,
for 2.6.x kernel you should be able to use also lenny/sid.

Petr



Reply to: