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

Bug#609690: gcc-4.4: default 32bit arch on amd64, i386, and kfreebsd-{amd64,i386},

On 11.01.2011 16:38, Petr Salinger wrote:
Package: gcc-4.4
Version: 4.4.5-8


the current gcc-4.4 uses (tested on i386/4.4.5-6 and kfreebsd-i386/4.4.5-8)
as a default arch i586.
COLLECT_GCC_OPTIONS='-v' '-dD' '-E' '-mtune=generic' '-march=i586'

echo "" | gcc-4.4 -dD -x c -E - | grep 86

#define __DBL_MAX__ 1.7976931348623157e+308
#define __i386 1
#define __i386__ 1
#define i386 1
#define __i586 1
#define __i586__ 1

It is due to debian/rules2:

ifneq (,$(filter $(DEB_TARGET_ARCH), amd64 i386 kfreebsd-i386 kfreebsd-amd64))
#CONFARGS += --with-arch-32=i486
ifeq ($(distribution),Ubuntu)
CONFARGS += --with-arch-32=i686
CONFARGS += --with-arch-32=i586

I believe, that even plain i486 have to be supported,
also changelog claims that default should still be i486.

yes, I think I did change that to avoid libgomp failures, which requires i586, and not just i486. Not sure what to do about that for squeeze.

  $ apt-cache rdepends libgomp1 | wc -l

So all these packages would need setting of the -march flag explicitly.

There are other packages which do require i586, like OpenJDK.

Reply to: