- Sat Oct 04, 2014 7:23 am
#1178
I have the issue when compiling dumbcraft's "dumbutils.c" from
https://github.com/cnlohr/dumbcraft8266Here is my full (not edited) command line:
Code: Select allCC user/dumbutils.c
/home/mstempin/devel/crosstool-NG/builds/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Iinclude -Idriver -Iuser -Idriver/include -Iuser/include -I/home/mstempin/devel/ESP8266_SDK/lx106_linux/lx106/xtensa-elf/include -I"/home/mstempin/devel/espressif_iot_esp8266_development_kit_20140929/ESP8266 SDK AT FlashDownloadTool/esp_iot_sdk_v0.9.2"/include -I"/home/mstempin/devel/espressif_iot_esp8266_development_kit_20140929/ESP8266 SDK AT FlashDownloadTool/esp_iot_sdk_v0.9.2"/include/json -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -c user/dumbutils.c -o build/user/dumbutils.o
/tmp/ccA64CS7.s: Assembler messages:
/tmp/ccA64CS7.s:30: Error: literal pool location required for text-section-literals; specify with .literal_position
make: *** [build/user/dumbutils.o] Erreur 1
Here is the preprocessed ("-E") corresponding file: it is rather short:
dumbutils.c
This is using your latest crosstoll-NG from github.
Hope it helps!
You do not have the required permissions to view the files attached to this post.