This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/10121: [irix6.5] fix-header dumps core
- From: David dot Billinghurst at riotinto dot com
- To: gcc-gnats at gcc dot gnu dot org
- Cc: neil at daikokuya dot co dot uk
- Date: 17 Mar 2003 13:08:20 -0000
- Subject: bootstrap/10121: [irix6.5] fix-header dumps core
- Reply-to: David dot Billinghurst at riotinto dot com
>Number: 10121
>Category: bootstrap
>Synopsis: [irix6.5] fix-header dumps core
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 17 13:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: David Billinghurst
>Release: gcc-3.4 20030315
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
irix6.5 bootstrap of trunk fails when fix-header dumps core.
- CVS of 2003-03-15 12:15 UTC is OK
- CVS of 2003-03-15 12:20 UTC fails
The only patch is:
2003-03-15 Neil Booth <neil at daikokuya dot co dot uk>
* Makefile.in: Update.
* c-common.h (cb_register_builtins): Rename c_cpp_builtins.
* c-lex.c (init_c_lex): Register builtins hook is dead.
* c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U.
(c_common_decode_option): Don't call cpp_handle_option.
Handle -A, -D and -U.
(handle_deferred_opts): Simplify.
(finish_options): Define builtins and command line macros.
* c-ppoutput.c (init_pp_output): Register builtins hook is dead.
* cppinit.c: Don't include intl.h.
(init_builtins): Rename cpp_init_builtins. No hook to call.
(init_library): Don't need to sort options.
(cpp_create_reader): Don't set pending.
(cpp_destroy): Don't free pending.
(struct pending_option, cl_directive_handler, struct cpp_pending,
APPEND, free_chain, new_pending_directive, parse_option, opt_comp,
cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option,
cl_options, cpp_handle_option): Remove.
* cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option,
cpp_finish_options): Remove.
(cpp_init_builtins): New.
* fix-header.c (read_scan_file): Update to handle -D. Fix
handling of -I. Replace call to cpp_finish_options.
Final lines of build are:
if [ -f include/fixed ] ; then true; \
else \
: This line works around a 'make' bug in BSDI 1.1.; \
FIXPROTO_DEFINES="-D__EXTENSIONS__ -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS"; exp
ort FIXPROTO_DEFINES; \
mkinstalldirs="/bin/sh /disk4/billingd/src/gcc-j/gcc/mkinstalldirs"; \
export mkinstalldirs; \
if [ -d "/usr/include" ]; then \
/bin/sh /disk4/billingd/src/gcc-j/gcc/fixproto include include /usr/include;
\
if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
else true; fi; \
echo timestamp > include/fixed; \
fi
fixproto: populating `include'
/disk4/billingd/src/gcc-j/gcc/fixproto[275]: 2687614 Memory fault(coredump)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: