Compilation flag --without-newlib is not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
Won't Fix
|
Undecided
|
Przemyslaw Wirkus | ||
gcc-arm-none-eabi (Debian) |
New
|
Undecided
|
Unassigned |
Bug Description
Compiling with and without the option --without-newlib, the compilation fails in the same way:
```
In file included from /home/cancerber
/home/cancerber
# include_next <stdint.h>
compilation terminated.
make[6]: *** [../../
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory '/home/
make[5]: *** [Makefile:1201: multi-do] Error 1
make[5]: Leaving directory '/home/
make[4]: *** [Makefile:125: all-multi] Error 2
make[4]: Leaving directory '/home/
make[3]: *** [Makefile:11368: all-target-libgcc] Error 2
make[3]: Leaving directory '/home/
make[2]: *** [Makefile:883: all] Error 2
make[2]: Leaving directory '/home/
dh_auto_build: cd build && make -j4 returned exit code 2
make[1]: *** [debian/rules:91: override_
make[1]: Leaving directory '/home/
make: *** [debian/rules:70: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
```
Using the option --without-newlib and installing in the system newlib the compilation succeed.
Hi there, I hit with the same error. If you try to build gcc with the option --without-newlib doesn't work. In gcc7 it used to work, so I guess the breakage was introduced in gcc8.