[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#588391: gcc-4.4: please automatically use -ffunction-sections when necessary with -fPIC

Package: gcc-4.4
Version: 4.4.4-6
Severity: wishlist

Because the ELF ABI for hppa requires relative jumps which are limited
to 17 bits[0], programs frequently require the use of
-ffunction-sections.  It would be preferable if (on hppa or otherwise)
-ffunction-sections were implied by -fPIC when otherwise gcc would
generate text sections that are too large.  After all, there's really no
reason to generate .o files that are, for all practical purposes,
useless.  It would also make numerous package maintainers and hppa
porters very happy, I suspect.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558999#15

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.4 depends on:
ii  binutils     The GNU assembler, linker and bina
ii  cpp-4.4               4.4.4-6            The GNU C preprocessor
ii  gcc-4.4-base          4.4.4-6            The GNU Compiler Collection (base 
ii  libc6                 2.11.2-2           Embedded GNU C Library: Shared lib
ii  libgcc1               1:4.5.0-7          GCC support library
ii  libgomp1              4.5.0-7            GCC OpenMP (GOMP) support library

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

Versions of packages gcc-4.4 suggests:
pn  gcc-4.4-doc                   <none>     (no description available)
pn  gcc-4.4-locales               <none>     (no description available)
ii  gcc-4.4-multilib              4.4.4-6    The GNU C compiler (multilib files
ii  libcloog-ppl0                 0.15.9-1   the Chunky Loop Generator (runtime
pn  libgcc1-dbg                   <none>     (no description available)
pn  libgomp1-dbg                  <none>     (no description available)
ii  libmudflap0-4.4-dev           4.4.4-6    GCC mudflap support libraries (dev
pn  libmudflap0-dbg               <none>     (no description available)
ii  libppl-c2                     0.10.2-6   Parma Polyhedra Library (C interfa
ii  libppl7                       0.10.2-6   Parma Polyhedra Library (runtime l

-- no debconf information

brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply to: