[syslinux] Syslinux 4.06-pre12

Matt Fleming matt at console-pimps.org
Wed Oct 10 01:41:45 PDT 2012


On Tue, 2012-10-09 at 23:35 -0400, Shao Miller wrote:
> It looks like some folks with GCC 4.7.0 (including MinGW versions of such)
> might be bitten by '__attribute__((packed))' not working, as I have just
> been, with my gcc version 4.7.0 20120322 (Fedora MinGW 4.7.0-2.fc17) (GCC).
> 
> Relevant bug-report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
> 
> A few potential workarounds are mentioned, including using
> '-mno-ms-bitfields' or '__attribute__((gcc_struct, packed))'.
> 
> Turns out the bsMedia field _is_ in the same spot for FAT and NTFS, and I
> was misled by the padding the compiler had introduced in the FAT boot-sector
> structure, expanding that structure to an unpleasant 520 bytes.

Yeah, I think this is the bug that snuck into one of the 4.06
prereleases that broken the win* installers. The Syslinux build
infrastructure is now running F16, for instance.

-- 
Matt Fleming, Intel Open Source Technology Center




More information about the Syslinux mailing list