mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.31 build failure
@ 2002-08-23 23:07 Daniel I. Applebaum
  2002-08-24  0:19 ` Kai Germaschewski
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel I. Applebaum @ 2002-08-23 23:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel


I get the following error when trying to build 2.5.31:
gcc -Wp,-MD,./.entry.o.d -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.5.31/include -nostdinc -iwithprefix include  -traditional  -c -o entry.o entry.S
/usr/lib/gcc-lib/i386-redhat-linux/2.96/tradcpp0: Usage: /usr/lib/gcc-lib/i386-redhat-linux/2.96/tradcpp0 [switches] input output
make[2]: *** [entry.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.31/arch/i386/kernel'
make[1]: *** [arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.31'
make: *** [bzImage] Error 2

Dan.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.31 build failure
  2002-08-23 23:07 2.5.31 build failure Daniel I. Applebaum
@ 2002-08-24  0:19 ` Kai Germaschewski
  2002-08-24  1:18   ` Daniel I. Applebaum
  2002-08-24  7:45   ` Thunder from the hill
  0 siblings, 2 replies; 5+ messages in thread
From: Kai Germaschewski @ 2002-08-24  0:19 UTC (permalink / raw)
  To: Daniel I. Applebaum; +Cc: linux-kernel

On Fri, 23 Aug 2002, Daniel I. Applebaum wrote:

> I get the following error when trying to build 2.5.31:
> gcc -Wp,-MD,./.entry.o.d -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.5.31/include -nostdinc -iwithprefix include  -traditional  -c -o entry.o entry.S
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/tradcpp0: Usage: /usr/lib/gcc-lib/i386-redhat-linux/2.96/tradcpp0 [switches] input output
> make[2]: *** [entry.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.5.31/arch/i386/kernel'
> make[1]: *** [arch/i386/kernel] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.31'
> make: *** [bzImage] Error 2

The best explanation I have for this is a buggy compiler - I think I've 
seen one report like this before. What exact version are you using?

gcc -v 
rpm -qa | grep gcc

--Kai



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.31 build failure
  2002-08-24  0:19 ` Kai Germaschewski
@ 2002-08-24  1:18   ` Daniel I. Applebaum
  2002-08-24  1:24     ` Kai Germaschewski
  2002-08-24  7:45   ` Thunder from the hill
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel I. Applebaum @ 2002-08-24  1:18 UTC (permalink / raw)
  To: Kai Germaschewski; +Cc: Daniel I. Applebaum, linux-kernel


Here's the output that Kai asked for:

% gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
% rpm -qa | grep gcc
gcc-c++-2.96-54
kgcc-1.1.2-40
gcc-2.96-54
gcc-g77-2.96-54

Do I really need to change to 2.95.3?

Dan.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.31 build failure
  2002-08-24  1:18   ` Daniel I. Applebaum
@ 2002-08-24  1:24     ` Kai Germaschewski
  0 siblings, 0 replies; 5+ messages in thread
From: Kai Germaschewski @ 2002-08-24  1:24 UTC (permalink / raw)
  To: Daniel I. Applebaum; +Cc: linux-kernel

On Fri, 23 Aug 2002, Daniel I. Applebaum wrote:

> % gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.0)
> % rpm -qa | grep gcc
> gcc-c++-2.96-54
> kgcc-1.1.2-40
> gcc-2.96-54
> gcc-g77-2.96-54
> 
> Do I really need to change to 2.95.3?

No, but you should try to update to the latest 2.96 version (initial 
versions are known to be buggy, not sure if yours is any of those, 
though). The latest for Redhat 7.0 seem to be

ncftp ...updates/7.0/en/os/i386 > ls gcc*
gcc-2.96-85.i386.rpm                   gcc-g77-2.96-85.i386.rpm
gcc-c++-2.96-85.i386.rpm               gcc-java-2.96-85.i386.rpm
gcc-chill-2.96-85.i386.rpm             gcc-objc-2.96-85.i386.rpm

--Kai



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.31 build failure
  2002-08-24  0:19 ` Kai Germaschewski
  2002-08-24  1:18   ` Daniel I. Applebaum
@ 2002-08-24  7:45   ` Thunder from the hill
  1 sibling, 0 replies; 5+ messages in thread
From: Thunder from the hill @ 2002-08-24  7:45 UTC (permalink / raw)
  To: Kai Germaschewski; +Cc: Daniel I. Applebaum, linux-kernel

Hi,

On Fri, 23 Aug 2002, Kai Germaschewski wrote:
> gcc -v 
> rpm -qa | grep gcc

Can be very confusing:

[thunder@bluemoon ~] (0) gcc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.1.1/specs
Configured with: ./configure --prefix=/usr --exec-prefix=/usr --with-gnu-ld --with-gnu-as --with-elf --enable-checking=misc,tree,gc,gcac --enable-c-mbchar --enable-threads --enable-shared --with-gc=page
Thread model: posix
gcc version 3.1.1
[thunder@bluemoon ~] (0) rpm -qa | grep "gcc"
gcc-cpp-2.96-0.76mdk
gcc-c++-2.96-0.76mdk
gcc-java-2.96-0.76mdk
gcc-g77-2.96-0.76mdk
libgcc3.0-3.0.4-2mdk
gcc-2.96-0.76mdk
gcc-objc-2.96-0.76mdk
[thunder@bluemoon ~] (0) 

See?

			Thunder
-- 
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-08-24  7:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-23 23:07 2.5.31 build failure Daniel I. Applebaum
2002-08-24  0:19 ` Kai Germaschewski
2002-08-24  1:18   ` Daniel I. Applebaum
2002-08-24  1:24     ` Kai Germaschewski
2002-08-24  7:45   ` Thunder from the hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®