[980122]: Patch for new bug in libgcc2 for m68k-motorola-sysv

Jeffrey A Law law@cygnus.com
Sun Jan 25 19:50:00 GMT 1998


  In message < 199801251808.TAA27564@saturn.s-direktnet.de >you write:
  > The introduction of the __clear_insn_cache function for this particular
  > system inherited with gcc-2.8.0's merge causes bootstrap failures for me.
  > The new code calls the function `memctl' which isn't defined in any of
  > the libc's on this system!
  > 
  > As my system is pretty much original, I actually don't know, how Philippe
  > <phdm@macqel.be> got this change to work on his machine - Philippe, comment  > s?
  > 
  > To fix it, I added a check for memctl to configure.in and enabled the new
  > code only if HAVE_MEMCTL is defined.
Actually, this is a target issue, and thus is not suitable for autoconf
(it happens to work in your case because host == target when doing a native
build).

So, the right thing to do is determine what systems need it and put that
info in the target .h files statically.

Though as you mention, I'd like to know how Pilippe got this change to work
on his machine.  Maybe it's due to a different version of the OS.



jeff



More information about the Gcc-bugs mailing list