lkml.org 
[lkml]   [1997]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectPGCC and the kernel
From
Date
I'm using the newest version of PGCC I can find.  Here's the version
string:

gcc driver version 2.7.2p snapshot 970522 executing gcc version 2.7.2p

I'd like to know if there are any tweaks I should make to kernel
makefiles other than changing '-O2' to '-O6 -frisc'.

Also, the kernel compiles fine except for arch/i386/lib/checksum.c,
where it fails with this error:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wno-sign-compare
-Wstrict-prototypes -O5 -frisc -fomit-frame-pointer -D__SMP__ -pipe
-fno-strength-reduce -mpentium -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -D__SMP__ -c -o checksum.o checksum.c
{standard input}: Assembler messages:
{standard input}:509: Fatal error: Symbol end_of_body already defined.

It compiles fine with -O2. I'm going to try all the different
optimizations between -O2 and -O6 just to see what's breaking, and
report it to the PGCC crew. Has anyone else noticed this?

This error covers at least 2.0.30, 2.1.45, and 2.1.47.

If anyone needs more information from me, please let me know.

Jack.
--
John Twilley | Net Daemons Associates, Inc. | Voice: (617) 937-3338
jmt@nda.com | 800 West Cummings Park, Suite 2050 | Fax: (617) 937-3775
Coke & Twix! | Woburn, MA 01801 | Pager: (617) 671-7580

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.078 / U:1.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site