Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 29 Mar 2013 13:52:54 +0100 (CET)
From: Pavel Kankovsky <peak@...o.troja.mff.cuni.cz>
To: owl-dev@...ts.openwall.com
Subject: Re: embedded Owl - glibc/i586 build error

On Fri, 29 Mar 2013, gremlin@...mlin.ru wrote:

> I tried setting ARCHITECTURE=i386 in buildworld.conf together with
> passing "-march=i486 -mtune=i586" to %optflags (via ~build/.rpmmacros),
> and everything went fine except the only package. Alas, that's glibc:
>
> make[3]: Entering directory `/usr/src/world/rpm-work-4/BUILD/glibc-2.3.6/nptl'
> In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21:0:
> ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:28:1:
> error: conflicting types for '__lll_lock_wait'
> ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:226:12:
> note: previous declaration of '__lll_lock_wait' was here

It's Glibc's way of telling you NPTL is not supported on i386 according to 
comment #4 here: <http://www.sourceware.org/bugzilla/show_bug.cgi?id=849>

I think you need to build it with ARCHITECTURE=i486 or i586 but it'll take 
some cunning to make buildworld.sh &al. swallow it.

-- 
Pavel Kankovsky aka Peak                          / Jeremiah 9:21        \
"For death is come up into our MS Windows(tm)..." \ 21st century edition /

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ