Issue Details (XML | Word | Printable)

Key: PCC-389
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Anders Magnusson
Reporter: Roland Mainz
Votes: 2
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
pcc

pcc fails to compile ksh93 (ast-ksh.2012-02-29)

Created: 04/Apr/12 08:59 PM   Updated: 29/Jul/12 07:46 PM
Component/s: C preprocessor
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Text File buildlog.log (627 kB)

Environment: Suse Linux 12.1/AMD64


 Description  « Hide
pcc fails to compile ksh93 (ast-ksh.2012-02-29)

Steps to reproduce:
1. Fetch ksh93 sources
wget --http-user="I accept www.opensource.org/licenses/eclipse" --http-passwd="." 'http://www2.research.att.com/~gsf/download/tgz/ast-ksh.2012-02-29.tgz'
wget --http-user="I accept www.opensource.org/licenses/eclipse" --http-passwd="." 'http://www2.research.att.com/~gsf/download/tgz/INIT.2012-02-29.tgz'
2. Unpack
3. Compile code with:
$ (CC='/usr/bin/pcc -D__NO_INLINE__=1' ./bin/package make) 2>&1 | tee -a buildlog.log
(-D__NO_INLINE__=1' is set to avoid trouble with gcc-specific math inlines on Linux)

Result:
Several failures, with errors like these ones:
/home/test001/work/ast_ksh_20120229/build_pcc/src/cmd/ksh93/sh/arith.c:150: error: out of macro space!
/home/test001/work/ast_ksh_20120229/build_pcc/src/cmd/ksh93/edit/completion.c:128: error: Too much defining

I attached "buildlog.log" ... search for "exit code" to find locations where the errors occured.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson made changes - 05/Apr/12 05:00 PM
Field Original Value New Value
Assignee Anders Magnusson [ ragge ]
Anders Magnusson made changes - 28/Jul/12 10:26 PM
Component/s C preprocessor [ 10021 ]
Anders Magnusson made changes - 29/Jul/12 07:30 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]