https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87013

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |sparc-linux
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2018-08-20
            Summary|xgcc: fatal error: no input |Error: junk at end of line,
                   |files                       |first unrecognized
                   |                            |character is `i'
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
> xgcc: error: unrecognized command line option '-qversion'; did you mean 
> '--version'?
> xgcc: fatal error: no input files

That's not the problem, this error is supposed to happen, because your compiler
doesn't recognise the -qversion option.


> compilation terminated.
> configure:3458: $? = 1
> configure:3474: /media/gcc-8.2.0-compiled/./gcc/xgcc 
> -B/media/gcc-8.2.0-compiled/./gcc/ -B/opt/gcc-8.2/sparc-linux/bin/ 
> -B/opt/gcc-8.2/sparc-linux/lib/ -isystem /opt/gcc-8.2/sparc-linux/include 
> -isystem /opt/gcc-8.2/sparc-linux/sys-include    -o conftest -g -O2   
> conftest.c  >&5
> /tmp/ccvuOEZf.s: Assembler messages:
> /tmp/ccvuOEZf.s:15: Error: junk at end of line, first unrecognized character 
> is `i'
> configure:3477: $? = 1
> configure:3665: checking for suffix of object files
> configure:3687: /media/gcc-8.2.0-compiled/./gcc/xgcc 
> -B/media/gcc-8.2.0-compiled/./gcc/ -B/opt/gcc-8.2/sparc-linux/bin/ 
> -B/opt/gcc-8.2/sparc-linux/lib/ -isystem /opt/gcc-8.2/sparc-linux/include 
> -isystem /opt/gcc-8.2/sparc-linux/sys-include    -c -g -O2  conftest.c >&5
> /tmp/ccookNLX.s: Assembler messages:
> /tmp/ccookNLX.s:15: Error: junk at end of line, first unrecognized character 
> is `i'

This is the problem.

Try compiling the source below using the command above, adding -save-temps, and
then look at the resulting .s file. See why your assembler can't process it (do
you even have an assembler for your target?)


> configure:3691: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "GNU C Runtime Library"
> | #define PACKAGE_TARNAME "libgcc"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
> | /* end confdefs.h.  */
> | 
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3705: error: in `/media/gcc-8.2.0-compiled/sparc-linux/libgcc':
> configure:3708: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.

Reply via email to