[Pkg-alsa-devel] Bug#565742: gcc-4.4 doesn't build a GNU_STACK crosscompiling on arch ppc

Elimar Riesebieter riesebie at lxtec.de
Mon Jan 18 14:03:21 UTC 2010


Package: gcc-4.4
Version: 4.4.2-9
Severity: important


Preparing alsa-lib_1.0.22 I found the following lintian error:

shlib-without-PT_GNU_STACK-section

This is on arch ppc. amd64 and i386 went fine.

readelf -l /usr/lib64libasound.so.2.0.0
with gcc-4.4

Elf file type is DYN (Shared object file)
Entry point 0x136df8
There are 4 program headers, starting at offset 64

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x00000000001217fc 0x00000000001217fc  R E    10000
  LOAD           0x0000000000121800 0x0000000000131800 0x0000000000131800
                 0x000000000001a270 0x000000000001e590  RW     10000
  DYNAMIC        0x0000000000126b18 0x0000000000136b18 0x0000000000136b18
                 0x0000000000000210 0x0000000000000210  RW     8
  NOTE           0x0000000000000120 0x0000000000000120 0x0000000000000120
                 0x0000000000000024 0x0000000000000024  R      4

 Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.build-id .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d .gnu.version_r .rela.dyn .rela.plt .init .text .fini .rodata .eh_frame
   01     .ctors .dtors .jcr .data.rel.ro .dynamic .data .opd .got .plt .bss
   02     .dynamic
   03     .note.gnu.build-id


readelf -l /usr/lib64libasound.so.2.0.0
with gcc-4.3

Elf file type is DYN (Shared object file)
Entry point 0x138940
There are 5 program headers, starting at offset 64

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000123344 0x0000000000123344  R E    10000
  LOAD           0x0000000000123348 0x0000000000133348 0x0000000000133348
                 0x000000000001a130 0x000000000001e450  RW     10000
  DYNAMIC        0x0000000000128660 0x0000000000138660 0x0000000000138660
                 0x0000000000000210 0x0000000000000210  RW     8
  NOTE           0x0000000000000158 0x0000000000000158 0x0000000000000158
                 0x0000000000000024 0x0000000000000024  R      4
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     8

 Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.build-id .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d .gnu.version_r .rela.dyn .rela.plt .init .text .fini .rodata .eh_frame
   01     .ctors .dtors .jcr .data.rel.ro .dynamic .data .opd .got .plt .bss
   02     .dynamic
   03     .note.gnu.build-id
   04



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.33-rc4-aragorn
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.4 depends on:
ii  binutils                      2.20-5     The GNU assembler, linker and bina
ii  cpp-4.4                       4.4.2-9    The GNU C preprocessor
ii  gcc-4.4-base                  4.4.2-9    The GNU Compiler Collection (base 
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.2-9  GCC support library
ii  libgomp1                      4.4.2-9    GCC OpenMP (GOMP) support library

Versions of packages gcc-4.4 recommends:
ii  libc6-dev                     2.10.2-5   Embedded GNU C Library: Developmen

Versions of packages gcc-4.4 suggests:
pn  gcc-4.4-doc                   <none>     (no description available)
ii  gcc-4.4-locales               4.4.2-9    The GNU C compiler (native languag
ii  gcc-4.4-multilib              4.4.2-9    The GNU C compiler (multilib files
pn  libcloog-ppl0                 <none>     (no description available)
ii  libgcc1-dbg                   1:4.4.2-9  GCC support library (debug symbols
ii  libgomp1-dbg                  4.4.2-9    GCC OpenMP (GOMP) support library 
ii  libmudflap0-4.4-dev           4.4.2-9    GCC mudflap support libraries (dev
ii  libmudflap0-dbg               4.4.2-9    GCC mudflap shared support librari
pn  libppl-c2                     <none>     (no description available)
pn  libppl7                       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-powerpc-REQUEST at lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster at lists.debian.org




More information about the Pkg-alsa-devel mailing list