Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 28200

Summary: gcc/g++-2.96-74 -MD/-MMD gives bad option -MF to cpp0
Product: [Retired] Red Hat Raw Hide Reporter: j. alan eldridge <alane>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-18 09:19:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description j. alan eldridge 2001-02-18 01:19:12 UTC
[root@wozzle tmp]# g++ -v -MMD x.cc
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c++ -D__GNUG__=2 -v -MM
-MF x.d -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__
-Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux
-Asystem(posix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
-D__tune_i386__ x.cc /tmp/cctY34zK.ii
GNU CPP version 2.96 20000731 (Red Hat Linux 7.0) (cpplib)
 (i386 Linux/ELF)
cpp0: Invalid option -MF

According to the help from cpp0 --help, it accepts the -MD and -MMD flags.
So gcc/g++ just needs to pass it along, unchanged.

Jakub, any idea when this was introduced? Can I step back to -71 and still
get the "operator-names" stuff working correctly?

Comment 1 Jakub Jelinek 2001-02-18 09:19:09 UTC
You should always update all gcc subpackages. If you update to cpp-2.96-74,
everything should work.
I've just added more strict Requires: which will show up in the next
gcc build.