Package: syslinux
Version: 2:3.71+dfsg-5
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of syslinux_2:3.71+dfsg-5 on em64t by sbuild/amd64 0.53
...
>   [BUILD] bin/ipv4.o
> cc1: warnings being treated as errors
> net/ipv4.c: In function 'ipv4_reassemble':
> net/ipv4.c:191: error: suggest parentheses around operand of'!' or change '&' 
> to '&&' or '!' to '~'
> make[3]: *** [bin/ipv4.o] Error 1
> make[3]: Leaving directory `/build/tbm/syslinux-3.71+dfsg/gpxe/src'
> make[2]: *** [src/bin/undionly.kpxe] Error 2

This is a new warning in gcc 4.4.

But then I also get:


  [BUILD] bin/tls.o
cc1: warnings being treated as errors
net/tls.c: In function 'add_tls':
net/tls.c:1713: error: dereferencing type-punned pointer will break 
strict-aliasing rules
net/tls.c:1717: error: dereferencing type-punned pointer will break 
strict-aliasing rules
make: *** [bin/tls.o] Error 1

and:

  [BUILD] bin/multiboot.o
arch/i386/image/multiboot.c: In function 'multiboot_exec':
arch/i386/image/multiboot.c:295: error: bp cannot be used in asm here
make: *** [bin/multiboot.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to