[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},



Package: gcc-4.4
Version: 4.4.5-8

Hi,

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
  else
    CONFARGS += --with-arch-32=i586
  endif
endif


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

gcc-4.4 (4.4.0-1~exp1) experimental; urgency=low

* Configure --with-arch-32=i486 on amd64, i386, and kfreebsd-{amd64,i386},
    --with-arch-32=i586 on hurd-i386, --with-cpu=atom on lpia.


Petr



Reply to: