Freebsd-7.4 + std gcc 4.2.1 fails to honour -march=i586

Julian H. Stacey jhs at
Thu Jul 21 12:52:01 UTC 2011

Hi freebsd-toolchain at, freebsd-i386 at
cc: freebsd-hackers at

Sun Jul 17 01:19:37 UTC 2011 I wrote to freebsd-hackers@ with 
	Subject: Freebsd-7.4 + std gcc 4.2.1 fails to honour -march=i586

  I found a problem with CFLAGS += -march=i586 on an i686 linking
  a crt.o for an i686, then not running on an i586, I suggested
  maybe -march could be extended to also select seperate lib sub
  directories to at least trigger a link failure, rather than a silent
  apparent good compile of a bad binary.

  Others on freebsd-hackers@ made various follow up.

People on freebsd-toolchain@ & freebsd-i386@ might have valuable
input ?  Not wanting to split the thread between lists, or cross
post, More than this one) or lose people on freebsd-hackers@, Could
you please look at

& reply-to: freebsd-hackers at

Thanks ! 
(PS I'm not on freebsd-toolchain@ & freebsd-i386@, but am on freebsd-hackers@ )

Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich
 Reply below, not above;  Indent with "> ";  Cumulative like a play script.
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.

More information about the freebsd-i386 mailing list