MPS issue job001714

TitleMPS xcppgc (Mac OS X PowerPC) is built with outdated compiler flags
Statusclosed
Priorityoptional
Assigned userRichard Kistruck
OrganizationRavenbrook
DescriptionMPS xcppgc (Mac OS X PowerPC) is built with outdated compiler flags

Related jobs:
  job000601: "Making the MPS fails under Mac OS X 10.2 with an error to do with #line directives"

For all xcppgc varieties, some GCC compiler warnings are suppressed. This was done in order to make the build work with Apple's faulty header files in early versions of Mac OS X.

Additionally, for varieties variety.*i (internal), the level of debug info to be generated is selected using an outdated flag. (It is unknown whether this affects the debug info generated). This was done in order to make the build work with Apple's faulty compiler in early versions of Mac OS X.
AnalysisRHSK 2007-09-27
The flags concerned are:
  -Wstrict-prototypes -Wno-unused -Wno-long-long -no-cpp-precomp -g3

(For details, see //info.ravenbrook.com/project/mps/master/code/xcppgc.gmk#18).

None of these outdated flags are required any more in Mac OS X 10.4 (Xcode v 2.3; powerpc-apple-darwin8-gcc-4.0.1). Apple has cleared up its header files and compiler, and the MPS builds fine. See for example xci3gc.gmk#8.
How foundunknown
Evidenceinspection
Observed in1.108.0
Introduced in1.100.0
Created byRichard Kistruck
Created on2007-09-27 14:23:19
Last modified byGareth Rees
Last modified on2013-03-19 11:38:34
History2007-09-27 RHSK Created.

Fixes

Change Effect Date User Description
178908 closed 2012-08-12 23:27:35 Richard Brooksby Removing obsolete platforms:
LII3EG Linux on i386 with EGCS
LIPPGC Linux on POWER with GCC
S7PPMW Mac System 7 on PowerPC with Metrowerks Codewarrior
SOS8CX Solaris on SPARC 8 with cxref
SOS8GC Solaris on SPARC 8 with GCC
SOS8GP Solaris on SPARC 8 with GCC and gprof
SOS9SC Solaris on SPARC 9 with SunPro C
XCPPGC Mac OS X on PowerPC with GCC
163293 closed 2007-09-27 14:26:43 Richard Kistruck MPS master: xcppgc.gmk Remove outdated and unnecessary compiler flags.
163287 closed 2007-09-26 15:44:42 Richard Kistruck MPS master: xcppgc.cmk (comments only) Add explanation of various
compiler flags added under job000601.