Re: Industrial computer



On 11 Feb 2012, Gordon Henderson outgrape:

In article <87obt51nkd.fsf@xxxxxxxxxxxxxxxx>,
Nix <$}xinix{$@esperi.org.uk> wrote:
[...]
One caveat: these CPUs are 32-bit-only, the end of a development line,
and not *quite* 686-compatible. GCC has long taken care not to produce
the missing instruction (a long NOP, "nopl 0x0(%rax)", 0f 1f 40 00), but
binutils was not so careful, and until early last year GNU as produced a
long NOP for alignment purposes if -mtune=i686 was passed to it: GCC
doesn't pass it that flag, but glibc does, leading to a libc_nonshared.a
that crashes binaries linked against that glibc. see e.g.
<https://bugzilla.redhat.com/show_bug.cgi?id=579838>, fixed by
<http://sourceware.org/bugzilla/show_bug.cgi?id=6957>.

Every distributor out there has fixed this by now, thankfully, but you
might still get bitten if someone builds a glibc against a sufficiently-
old binutils.

Not had an issue - so-far, but I compile asterisk, apache & php from
source using the right compiler flags. My base is Debian.

Debian fixed this some months ago. You'll only see this if you compile
*glibc* from source, but that sort of thing is relatively common with
embedded systems :) (mine is cross-compiled from source: the resulting
tree is rsynced over from the compilation host every night.)

--
NULL && (void)
.



Relevant Pages

  • Re: How to enable thread-local storage?
    ... You can try to install it somewhere else and get gcc to use that. ... downloaded glibc and yesterday binutils. ... the newer glibc for when I compile stuff with it instead of the old? ...
    (comp.os.linux.misc)
  • compiling the latest glibc with the latest gcc
    ... In the docs for glibc, it says to use the latest gcc if possible, so I ... So does anyone know which gcc version will compile glibc-2.3.5 ... weak_alias (__isinf, isinf) ...
    (comp.os.linux.misc)
  • Re: Idea: Multitasking graphical OS for the GS
    ... gcc already has 65816 support. ... binutils is the first step to compile gcc. ...
    (comp.sys.apple2)
  • weird glibc problem
    ... updated the glibc on the 7.2 m/c [originally ... the link phase, the error is: ... the dilemma is that I need to compile gcc again with ... bootstrap compile of gcc, however, even the first phase compile uses my ...
    (comp.unix.admin)
  • weird glibc problem
    ... updated the glibc on the 7.2 m/c [originally ... the link phase, the error is: ... the dilemma is that I need to compile gcc again with ... bootstrap compile of gcc, however, even the first phase compile uses my ...
    (comp.unix.misc)