Bug#394703: gcc-4.1: #pragma pack broken on ARM
Package: gcc-4.1
Version: 4.1.1-16
Severity: important
Tags: patch
#pragma pack(1) doesn't work properly on ARM. eg.
#pragma pack(1)
struct (char c;} S;
sizeof(S) is 4, not 1.
This breaks schism (and possibly other packages).
http://buildd.debian.org/~jeroen/status/package.php?p=schism&a=arm
Patch to fix this is available at
http://gcc.gnu.org/ml/gcc-patches/2006-10/msg01115.html
Paul
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages gcc-4.1 depends on:
ii binutils 2.16.1cvs20060413-1 The GNU assembler, linker and bina
ii cpp-4.1 4.1.1-16 The GNU C preprocessor
ii gcc-4.1-base 4.1.1-16 The GNU Compiler Collection (base
ii libc6 2.3.6-13 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-16 GCC support library
ii libssp0 4.1.1-16 GCC stack smashing protection libr
Versions of packages gcc-4.1 recommends:
ii libc6-dev 2.3.6-13 GNU C Library: Development Librari
ii libmudflap0-dev 4.1.1-16 GCC mudflap support libraries (dev
-- no debconf information
Reply to: