[Slackbuilds-users] problem building avr-gcc on current (32bit)

Andrzej Telszewski andrzej at telszewski.com
Fri Jan 15 08:55:12 UTC 2021



On 14/01/2021 21:54, Frans-Pieter Vonck wrote:
> Hi,
> I tried the script for avr-gcc.
> This was the error from the log:
> Hope this information is pointing to the cause.
> Any ideas?
> Grts, F.P.
>
> configure:3458: $? = 0
> configure:3447: /tmp/SBo/avr-gcc/avr-gcc-build-8.2.0/./gcc/xgcc 
> -B/tmp/SBo/avr-gcc/avr-gcc-build-8.2.0/./gcc/ -B/usr/avr/bin/ 
> -B/usr/avr/lib/ -isystem /usr/avr/include -isystem 
> /usr/avr/sys-include    -V >&5
> xgcc: error: unrecognized command line option '-V'
> xgcc: fatal error: no input files
> compilation terminated.
> configure:3458: $? = 1
> configure:3447: /tmp/SBo/avr-gcc/avr-gcc-build-8.2.0/./gcc/xgcc 
> -B/tmp/SBo/avr-gcc/avr-gcc-build-8.2.0/./gcc/ -B/usr/avr/bin/ 
> -B/usr/avr/lib/ -isystem /usr/avr/include -isystem 
> /usr/avr/sys-include    -qversion >&5
> xgcc: error: unrecognized command line option '-qversion'; did you 
> mean '--version'?
> xgcc: fatal error: no input files
> compilation terminated.
> configure:3458: $? = 1
> configure:3474: /tmp/SBo/avr-gcc/avr-gcc-build-8.2.0/./gcc/xgcc 
> -B/tmp/SBo/avr-gcc/avr-gcc-build-8.2.0/./gcc/ -B/usr/avr/bin/ 
> -B/usr/avr/lib/ -isystem /usr/avr/include -isystem 
> /usr/avr/sys-include    -o conftest -O2 -march=i586 -mtune=i686 
> conftest.c  >&5
> xgcc: error: unrecognized command line option '-march=i586'
> xgcc: error: unrecognized command line option '-mtune=i686'
> configure:3477: $? = 1
> configure:3665: checking for suffix of object files
> configure:3687: /tmp/SBo/avr-gcc/avr-gcc-build-8.2.0/./gcc/xgcc 
> -B/tmp/SBo/avr-gcc/avr-gcc-build-8.2.0/./gcc/ -B/usr/avr/bin/ 
> -B/usr/avr/lib/ -isystem /usr/avr/include -isystem 
> /usr/avr/sys-include    -c -O2 -march=i586 -mtune=i686  conftest.c >&5
> xgcc: error: unrecognized command line option '-march=i586'
> xgcc: error: unrecognized command line option '-mtune=i686'
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>

The version on SlackBuilds.org is 4.9.2.

Haven't you manually bumped the version to 8.2.0?
This could cause the issues.



More information about the SlackBuilds-users mailing list