Bug 11954 - "invalid character" message in stage1 of bootstrap
Summary: "invalid character" message in stage1 of bootstrap
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 3.4.0
: P2 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-17 03:13 UTC by lucier
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: sun-sparc-solaris2.8
Target: sun-sparc-solaris2.8
Build: sun-sparc-solaris2.8
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lucier 2003-08-17 03:13:50 UTC
 
Comment 1 lucier 2003-08-17 03:20:55 UTC
Now I know not to hit "enter" to go from one field to another.  Maybe submitting
the error report when the user hits "enter" should be disabled.

I'm getting many error messages in stage1 of the bootstrap process of the form

banach-8% grep 'invalid character' build.log | sort | uniq -c
      1 ../../../gcc/fixinc/genfixes: invalid character 45 in exportstr for
OBJS-onestep
      1 ../../gcc/fixproto: invalid character 45 in exportstr for OBJS-onestep
      1 ../../gcc/genmultilib: invalid character 45 in exportstr for OBJS-onestep
      5 ../../gcc/mkconfig.sh: invalid character 45 in exportstr for OBJS-onestep
     24 ../../gcc/move-if-change: invalid character 45 in exportstr for OBJS-onestep
      1 ../../gcc/opts.sh: invalid character 45 in exportstr for OBJS-onestep
      1 ../../gcc/scan-types.sh: invalid character 45 in exportstr for OBJS-onestep
      2 ./fixinc.sh: invalid character 45 in exportstr for OBJS-onestep
      1 /home/c/lucier/programs/gcc/gcc-3.4/gcc/fixinc/mkfixinc.sh: invalid
character 45 in exportstr for OBJS-onestep
    359 /local/bin/bash: invalid character 45 in exportstr for OBJS-onestep
      1 mklibgcc: invalid character 45 in exportstr for OBJS-onestep

I'm using this version of bash and gcc:

banach-9% /local/bin/bash --version
GNU bash, version 2.04.0(1)-release (sparc-sun-solaris2.8)
Copyright 1999 Free Software Foundation, Inc.
banach-10% gcc --version
gcc (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Comment 2 Andrew Pinski 2003-08-23 02:55:39 UTC
char 45 is '-' so it looks like exportstr on solaris does not like '-' in the string.
Comment 3 Eric Botcazou 2003-10-28 09:11:24 UTC
I don't see them with ksh, which is the recommended shell to bootstrap the
compiler with on Solaris. Could you try to bootstrap with it?
Comment 4 Andrew Pinski 2003-10-29 00:28:55 UTC
This is not a GCC bug but rather a bash bug, report it to them.