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

Bug#489019: glibc 2.7 build configuration not suitable for Vortex86SX chip (486 compatible)



Package:  libc6
Version: 2.7-10

Compiling any program, even hello world, against this library produces binaries not working on any Vortex86SX-based system. The program does not execute and produces "Illegal Instruction" error message. This is always the case even when compiling as static binary with the -march=i486 flag. Compiling the same program using libc6 version 2.3.6 (etch) resulted in a working *static* executable, though shared libraries executables still produce the same bug. The only configuration that worked for me was using libc6 version 2.3.2 (sarge).

The details of the whole process are on this forum (http://ubuntuforums.org/showthread.php?t=841783). I posted it there first as I thought it is a 64 bit problem while running Ubuntu Hardy 8.04.


I am using Debian GNU/Linux 4.0 with mixed stable/testing repos.

$gcc --version
gcc (Debian 4.3.1-2) 4.3.1

$/lib/libc.so.6
GNU C Library stable release version 2.7, by Roland McGrath et al.
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.2.3 (Debian 4.2.3-3).
Compiled on a Linux >>2.6.24.4<< system on 2008-03-28.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.


$uname -a
Linux debian 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux.


Reply to: