home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!enterpoop.mit.edu!bloom-picayune.mit.edu!daemon
- From: ludger.kunz@fernuni-hagen.de (Ludger Kunz)
- Subject: bug in cpp?
- Message-ID: <1993Jan27.105225.3418@athena.mit.edu>
- Sender: daemon@athena.mit.edu (Mr Background)
- Reply-To: ludger.kunz@fernuni-hagen.de (Ludger Kunz)
- Organization: The Internet
- Date: Wed, 27 Jan 1993 10:52:25 GMT
- Lines: 30
-
- Today i tried to compile gzip-0.8.1. Everything worked fine except for
- the assembler file. The file match.S is preprocessed by cpp with
- the following command:
- /lib/cpp -DUNDERLINE match.S > _match.s
-
- When trying to compile the _match.s-file with gcc, the following
- 2 messages occur:
- match.s:51: invalid character '_' in opcode
- match.s:63: invalid character '_' in opcode
-
- Looking at the file _match.s leads to the lines
-
- _match_init :
- and
- _longest_match :
-
- Removing the blank between the label and the colon leads to a successful
- compilation.
- Another bug concerns the following code:
- add $window+2,%edi
- This leads to an error while linking. The symbol window must be replaced with
- _window. There are to locations where these replacement isn't done by
- cpp.
- Both situations work right on a sun.
-
- Is it possibly a bug in cpp for linux?
-
- mfg
-
- lket
-