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

Re: linux-libc-dev and LTP compile failures on ppc



On Sat, 1 May 2010, Moritz Muehlenhoff wrote:
> On Sun, Feb 21, 2010 at 11:39:33PM +0100, Moritz Muehlenhoff wrote:
> > On Fri, Aug 14, 2009 at 02:48:10PM +0200, Geert Uytterhoeven wrote:
> > > Package: linux-libc-dev
> > > Version: 2.6.26-17lenny1
> > > 
> > >
> > > After upgrading linux-libc-dev to version 2.6.30-5 from sid, configure works
> > > fine again.  However, the build of LTP fails with:
> > > 
> > > | gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall    signalfd01.c  -L../../../../lib -lltp -o signalfd01
> > > | In file included from /usr/include/asm/fcntl.h:9,
> > > |                  from /usr/include/linux/fcntl.h:4,
> > > |                  from /usr/include/linux/signalfd.h:13,
> > > |                  from signalfd01.c:62:
> > > | /usr/include/asm-generic/fcntl.h:117: error: redefinition of ?struct flock?
> > > | /usr/include/asm-generic/fcntl.h:140: error: redefinition of ?struct flock64?
> > > | make[4]: *** [signalfd01] Error 1
> > > | make[4]: Leaving directory `/root/ltp-full-20090731/testcases/kernel/syscalls/signalfd'
> > > 
> > > The original definitions of `struct flock' and `struct flock64' are in
> > > /usr/include/bits/fcntl.h.
> > > 
> > > Presumably /usr/include/bits/fcntl.h should use the definition pulled in from
> > > /usr/include/asm/fcntl.h, instead of defining its own?
> > 
> > Hi,
> > The next release of Debian (6.0, code name Squeeze) will be based
> > on 2.6.32. Please test the current 2.6.32 from unstable/testing and tell
> > us whether the problem persists. If so, we should report it upstream
> > to the kernel.org developers.
> > 
> > The 2.6.32 kernel is available from packages.debian.org and can
> > be installed in both Debian stable, testing and unstable
> > installations.
> 
> No further feedback, closing the bug.
> 
> If this can be reproduced with current kernels, please reopen this bug.

Sorry, I'm no longer in a position to verify this.
So if anyone can give it a try? Thx!

With kind regards,

Geert Uytterhoeven
Software Architect
Techsoft Centre

Technology and Software Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010


Reply to: