... | @@ -350,6 +350,24 @@ RAM during mapping/routing the design. 32-bit version can't use more |
... | @@ -350,6 +350,24 @@ RAM during mapping/routing the design. 32-bit version can't use more |
|
than 3 GBs and sometimes freezes instead of throwing an
|
|
than 3 GBs and sometimes freezes instead of throwing an
|
|
error.
|
|
error.
|
|
|
|
|
|
|
|
### Q: Firmware 4.2 (buildroot) does not compile on Ubuntu 16.04 (gcc problem)
|
|
|
|
|
|
|
|
A: The buildroot 2011.11 used in the Firmware 4.2 contains a
|
|
|
|
cross-compiler gcc 4.3.6, which does not compile with a host gcc version
|
|
|
|
\>=5. To solve this problem please use a flag "-fgnu89-inline" for host
|
|
|
|
gcc. You can find more details about this issue in
|
|
|
|
[stackoverflow](http://stackoverflow.com/questions/34569458/error-occurred-compiling-gcc-from-source-code)
|
|
|
|
If you see in the error log messages like the following, definitely you
|
|
|
|
are impacted by this
|
|
|
|
error.
|
|
|
|
|
|
|
|
~/build/buildroot-2011.11/output/toolchain/gcc-4.3.6/gcc/toplev.c:545:1: error: redefinition of ‘floor_log2’
|
|
|
|
~/build/buildroot-2011.11/output/toolchain/gcc-4.3.6/gcc/toplev.c:580:1: error: redefinition of ‘exact_log2’
|
|
|
|
|
|
|
|
In this case please use a branch wr-switch-sw-v4.2-fixes from
|
|
|
|
wr-switch-sw repo, which contains needed
|
|
|
|
fixes.
|
|
|
|
|
|
-----
|
|
-----
|
|
|
|
|
|
## General questions
|
|
## General questions
|
... | | ... | |