Max Filippov
Max Filippov
> Automake 1.15 is installed and recognized. Is version 1.14 a requirement? Well, AFAIK automake shouldn't be invoked at all unless parts of the project build system are changed. It's...
It likely will, but esp8266 doesn't have any hardware floating point support and on esp32 gcc only has support for single precision floats.
> Building crosstool-NG on FreeBSD 11.0 for the ESP32. GCC = 5.2.0 > When running the original .config with no declaration on endianness, I got errors due to not claiming...
> I have included the build.log You have newlib-2.1.0 selected in your config, but there's only patches for newlib-2.0.0 with xtensa support in the branch xtensa-1.22.x. That's the reason. Here's...
It's been updated: the branch lx106-g++-1.21.0 offers gcc-5.1 by default, here's the announcement: http://www.esp8266.com/viewtopic.php?f=9&t=224&start=155#p19771 But it seems that not a lot of people picked it up. So I left 4.8.x...
> unwind-dw2-fde-dip.c:36:40: fatal error: elf.h: No such file or directory I believe your system is missing libc development package. On ubuntu/debian it should be fixed with apt-get install build-essential
Reading [unwind-dw2-fde-dip.c](https://github.com/gcc-mirror/gcc/blob/master/libgcc/unwind-dw2-fde-dip.c) I see the following: ``` #if !defined(inhibit_libc) && !defined(__OpenBSD__) #include /* Get DT_CONFIG. */ #endif ``` which makes me think, that something like `&& !defined(__FreeBSD__)` may be missing...
OK, reading it a bit further I realize that the compiler thinks that it builds the unwinding library for FreeBSD running on esp8266. At that point I'd say that this...
Now I'm getting the same error when building esp32 toolchain, but not esp8266. Looking at it.
Ok, my problem was that unwind-dw2-fde-dip.c should not have been used on baremetal elf target. It should be fixed with commit a194053064fba3c261bce32f2eebe16e4d775225. I suspect that it also fixes issues seen...