Comment 2 for bug 1838143

Revision history for this message
stewo (wolfer-y) wrote : [Autoreply] [Bug 1838143] Re: Compilation flag --without-newlib is not working

Ich bin bis 12.08. nicht im Haus und kann Ihre Nachricht daher leider nicht bearbeiten. In dringenden Fällen wenden Sie sich bitte an <email address hidden> bzw. für technische Fragen an <email address hidden>.

I am out of office until August 12th and won't be able to read your message. In urgent cases, please refer to <email address hidden> or for technical questions to <email address hidden>.

Mit freundlichen Grüßen / Best regards

Steffen Wolfer

--
Dipl.-Inform. Steffen Wolfer
Software Engineer Embedded Systems

WEISS ROBOTICS GmbH & Co. KG
Karl-Heinrich-Käferle-Str. 8
D-71640 Ludwigsburg, Germany

Phone: +49 7141 94702-22
Fax: +49 7141 94702-99
http://www.weiss-robotics.com

Sitz der Gesellschaft: Ludwigsburg
Registergericht Stuttgart, HRA725006

Pers. haftende Gesellschafterin:
Weiss Robotics Verwaltungs-GmbH, Sitz Ludwigsburg
Registergericht Stuttgart, HRB73310
Geschäftsführer: Dr. Karsten Weiß

** Also affects: gcc-arm-none-eabi (Debian)
   Importance: Undecided
       Status: New

--
You received this bug notification because you are subscribed to GNU Arm
Embedded Toolchain.
Matching subscriptions: Älles
https://bugs.launchpad.net/bugs/1838143

Title:
  Compilation flag --without-newlib is not working

Status in GNU Arm Embedded Toolchain:
  New
Status in gcc-arm-none-eabi package in Debian:
  New

Bug description:
  Compiling with and without the option --without-newlib, the
  compilation fails in the same way:

  ```
  In file included from /home/cancerbero/data/debian/packages/gcc-arm-none-eabi/build/gcc/include/arm_cmse.h:38,
                   from ../../../../../../libgcc/config/arm/cmse.c:27:
  /home/cancerbero/data/debian/packages/gcc-arm-none-eabi/build/gcc/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
   # include_next <stdint.h>
                  ^~~~~~~~~~
  compilation terminated.
  make[6]: *** [../../../../../../libgcc/config/arm/t-arm:14: cmse.o] Error 1
  make[6]: *** Waiting for unfinished jobs....
  make[6]: Leaving directory '/home/cancerbero/data/debian/packages/gcc-arm-none-eabi/build/arm-none-eabi/thumb/v8-m.base/nofp/libgcc'
  make[5]: *** [Makefile:1201: multi-do] Error 1
  make[5]: Leaving directory '/home/cancerbero/data/debian/packages/gcc-arm-none-eabi/build/arm-none-eabi/libgcc'
  make[4]: *** [Makefile:125: all-multi] Error 2
  make[4]: Leaving directory '/home/cancerbero/data/debian/packages/gcc-arm-none-eabi/build/arm-none-eabi/libgcc'
  make[3]: *** [Makefile:11368: all-target-libgcc] Error 2
  make[3]: Leaving directory '/home/cancerbero/data/debian/packages/gcc-arm-none-eabi/build'
  make[2]: *** [Makefile:883: all] Error 2
  make[2]: Leaving directory '/home/cancerbero/data/debian/packages/gcc-arm-none-eabi/build'
  dh_auto_build: cd build && make -j4 returned exit code 2
  make[1]: *** [debian/rules:91: override_dh_auto_build] Error 255
  make[1]: Leaving directory '/home/cancerbero/data/debian/packages/gcc-arm-none-eabi'
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-arm-embedded/+bug/1838143/+subscriptions