Bug 11181 - Switching toolchain does not work
Summary: Switching toolchain does not work
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2018.05
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-25 08:42 UTC by buildroot
Modified: 2018-07-25 08:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description buildroot 2018-07-25 08:42:35 UTC
I build several kernels for debugging purpose.
For this I need the gcc7 and gcc4, but when I switch the compiler in the toolchain menu, it won't use the selected compiler. 

Steps to reproduce.
make menuconfig
-> toolchain
-> GCC compiler Version 
  gcc 4.9.x
-> Exit and Save
make

make menuconfig
-> toolchain
-> GCC compiler Version
  gcc 7.x
-> Exit and Save
make (note, this works!)

make menuconfig 
-> toolchain
-> GCC compiler Version 
  gcc 4.9.x
-> Exit and Save
make (now it builds with gcc 7)
Comment 1 Thomas Petazzoni 2018-07-25 08:52:07 UTC
Not a bug: you need to do a full rebuild. This is documented at https://buildroot.org/downloads/manual/manual.html#full-rebuild