Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1433 - Firmware can not be compiled with gcc 8 #6436

Closed
openwrt-bot opened this issue Mar 15, 2018 · 2 comments
Closed

FS#1433 - Firmware can not be compiled with gcc 8 #6436

openwrt-bot opened this issue Mar 15, 2018 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

ambientsummer:

Host: Fedora 28 with GCC 8.0.1
Openwrt/LEDE: current trunk

[user@ openwrt]$ make prereq
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... failed.
Checking 'working-gcc'... ok.
Checking 'g++'... failed.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'ldconfig-stub'... ok.

Build dependency: Please install the GNU C Compiler (gcc) 4.8 or later cc -dumpversion | grep -E '(4.[8-9]|5.?[0-9]?|6.?[0-9]?|7.?[0-9]?)'
Build dependency: Please install the GNU C++ Compiler (g++) 4.8 or later g++ -dumpversion | grep -E '(4.[8-9]|5.?[0-9]?|6.?[0-9]?|7.?[0-9]?)'

Prerequisite check failed. Use FORCE=1 to override.
make[1]: *** [/home/user/openwrt/include/toplevel.mk:168: staging_dir/host/.prereq-build] Error 1
make: *** [/home/user/openwrt/include/toplevel.mk:83: prepare-tmpinfo] Error 2

@openwrt-bot
Copy link
Author

Hauke:

I prepared a patch to fix this problem here:
https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=commitdiff;h=56c4c1620f5bf06a074b938b87dd03c8e75daea5

Please try to build from my staging three and report back if it works now:
https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=summary

@openwrt-bot
Copy link
Author

ambientsummer:

It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant