Package: par2cmdline Version: 0.4-6 Severity: important Your package fails to build with G++ 4.1. I'm filing this bug as important for now, but when 4.1 will be the default compiler in unstable (probably in a few weeks) I'll upgrade this to serious.
According to someone I talked to, it seems that "gcc on MIPS is treating a packed MD5Hash as different from a normal MD5Hash, possibly because the former can be unaligned." And: "Ah, but an MD5Hash has an alignment of 1 anyway". And: "Given that packed structures are a GCC extension, I can't play language lawyer and say whether par2cmdline or gcc is wrong". And: "Hmm it's not being consistent, because MainPacket::FileId has the same problem". If you need MIPS related help, please talk to Thiemo Seufer <[EMAIL PROTECTED]>. If you have a patch, I can test it on mips. > Automatic build of par2cmdline_0.4-6 on bigsur by sbuild/mips 1.89 ... > if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -Wall -O2 -MT par2cmdline.o > -MD -MP -MF ".deps/par2cmdline.Tpo" -c -o par2cmdline.o par2cmdline.cpp; \ > then mv -f ".deps/par2cmdline.Tpo" ".deps/par2cmdline.Po"; else rm -f > ".deps/par2cmdline.Tpo"; exit 1; fi > par2fileformat.h:66: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PACKET_HEADER::length' > par2fileformat.h:67: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash PACKET_HEADER::hash' > par2fileformat.h:68: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash PACKET_HEADER::setid' > par2fileformat.h:79: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash FILEVERIFICATIONENTRY::hash' > par2fileformat.h:80: warning: ignoring packed attribute on unpacked non-POD > field 'leu32 FILEVERIFICATIONENTRY::crc' > par2fileformat.h:86: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash FILEVERIFICATIONPACKET::fileid' > par2fileformat.h:87: warning: ignoring packed attribute on unpacked non-POD > field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries [0u]' > par2fileformat.h:101: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' > par2fileformat.h:102: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' > par2fileformat.h:103: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' > par2fileformat.h:104: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 FILEDESCRIPTIONPACKET::length' > par2fileformat.h:129: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 MAINPACKET::blocksize' > par2fileformat.h:130: warning: ignoring packed attribute on unpacked non-POD > field 'leu32 MAINPACKET::recoverablefilecount' > par2fileformat.h:131: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash MAINPACKET::fileid [0u]' > par2fileformat.h:153: warning: ignoring packed attribute on unpacked non-POD > field 'leu32 RECOVERYBLOCKPACKET::exponent' > mainpacket.h: In member function 'const MD5Hash& MainPacket::SetId() const': > mainpacket.h:101: error: cannot bind packed field '((const > MAINPACKET*)((u8*)((const > MainPacket*)this)->MainPacket::<anonymous>.CriticalPacket::packetdata))->MAINPACKET::header.PACKET_HEADER::setid' > to 'const MD5Hash&' > par1fileformat.h: At global scope: > par1fileformat.h:39: warning: ignoring packed attribute on unpacked non-POD > field 'leu32 PAR1FILEHEADER::fileversion' > par1fileformat.h:40: warning: ignoring packed attribute on unpacked non-POD > field 'leu32 PAR1FILEHEADER::programversion' > par1fileformat.h:41: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash PAR1FILEHEADER::controlhash' > par1fileformat.h:42: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash PAR1FILEHEADER::sethash' > par1fileformat.h:43: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEHEADER::volumenumber' > par1fileformat.h:44: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEHEADER::numberoffiles' > par1fileformat.h:45: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEHEADER::filelistoffset' > par1fileformat.h:46: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEHEADER::filelistsize' > par1fileformat.h:47: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEHEADER::dataoffset' > par1fileformat.h:48: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEHEADER::datasize' > par1fileformat.h:53: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEENTRY::entrysize' > par1fileformat.h:54: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEENTRY::status' > par1fileformat.h:55: warning: ignoring packed attribute on unpacked non-POD > field 'leu64 PAR1FILEENTRY::filesize' > par1fileformat.h:56: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash PAR1FILEENTRY::hashfull' > par1fileformat.h:57: warning: ignoring packed attribute on unpacked non-POD > field 'MD5Hash PAR1FILEENTRY::hash16k' > par1fileformat.h:58: warning: ignoring packed attribute on unpacked non-POD > field 'leu16 PAR1FILEENTRY::name [0u]' > make[2]: *** [par2cmdline.o] Error 1 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

