public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* linux-2.1.127pre3 and egcs-1.1 on i586
@ 1998-10-30  2:40 Horst von Brand
  0 siblings, 0 replies; only message in thread
From: Horst von Brand @ 1998-10-30  2:40 UTC (permalink / raw)
  To: linux-kernel, egcs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

There were reports that egcs crashed when compiling this kernel, or that
the kernel got stuck on boot.

This here is i586/100, egcs-1.1, binutils-2.9.1.0.15, glibc-2.0.99
Kernel is linux-2.1.127pre3. No trouble at all.

Just a couple of odd things that stuck me when skimming the patch: In
include/asm-i386/spinlock.h the definition of spinlock_t for UP and gcc <
2.8 stuffs something into the structure to keep gcc happy, while rwlock_t
does not get the same attention. Oversight?

The corresponding definition for SPARC in include/asm-sparc/spinlock.h
defines spinlock_t as an unsigned char, that is never really used but is
passed around. Wouldn't it be better to do it like i386, where gcc
optimizes the empty structure into complete oblivion?

In any case, it would be better to pick _one_ strategy and stick to it,
IMHO.

Happy hacking!
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile                               +56 32 672616


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-10-30  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-30  2:40 linux-2.1.127pre3 and egcs-1.1 on i586 Horst von Brand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).