Bug#251149: gcc wrapper for sparc is chronically broken
Package: gcc
Version: 4:3.3.3-3
Severity: important
[ Marked as important since this vile wrapper has permeated testing
already. ]
/usr/bin/gcc on the sparc architecture is really a link to a C wrapper
that calls gcc-3.3 with either -m64 or -m32 depending on the native
architecture, sparc64 or sparc32 respectively.
This is well intended, but the leading issue with this is that mklibs
will try to reduce 32-bit libraries in a 64-bit way, and cause it to
require an invocation under 'sparc32' for it to work right now.
It also caused many problems with some of the assumptions I made with my
kernel packages because it set its own compiler flags silently and I
hadn't found out. Some objects would get compiled as 64-bit objects on a
32-bit build (no idea why, since it is supposed to pass -m32), but after
I removed the gcc-wrapper diversion everything worked.
I suggest that this wrapper be removed as it does more harm than good,
and people who are interested in 64-bit libraries for SPARC are probably
able to figure out the compiler flags themselves.
Joshua Kwan
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-mm5
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (ignored: LC_ALL set to en_US.UTF-8)
Versions of packages gcc depends on:
ii cpp 4:3.3.3-3 The GNU C preprocessor (cpp)
ii cpp-3.3 1:3.3.3-9 The GNU C preprocessor
ii gcc-3.3 1:3.3.3-9 The GNU C compiler
-- no debconf information
Reply to: