Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By mamalala
#1321
jcmvbkbc wrote:
mamalala wrote:The 32 bytes for that function (including the 0-byte padding) are:

Code: Select all4000:4CD0 61 BD F0


The address is correct, so must be 0x60000200.
Which exception do you get when you access this range and what values do exccause and excvaddr have when you get it?


Alright, with tinhead's help, it is clear that the bug is in the IDA plugin for the lx106. I made a post here: http://www.esp8266.com/viewtopic.php?f=13&t=214&p=1320#p1320

Sorry for the confusion.

Greetings,

Chris
User avatar
By jcmvbkbc
#1322
mamalala wrote:Alright, with tinhead's help, it is clear that the bug is in the IDA plugin for the lx106. I made a post here: http://www.esp8266.com/viewtopic.php?f=13&t=214&p=1320#p1320

Oh, I see what you mean. l32r decode is ok, but s32i immediate decoding is wrong which I haven't noticed.
Indeed

22 66 41

is s32i a2, a6, 0x104
User avatar
By OpenThings
#1349 I am ruuning ./ct-ng build,but hung-up, How to continue?
as can't find cloog,but i can download it mannully.
build.log as follow:
cloog-0.18.1.tar.xz.tmp-dl' 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.xz'
[ALL ] --2014-10-07 09:21:29-- ftp://gcc.gnu.org/pub/gcc/infrastructur ... 8.1.tar.xz
[ALL ] => '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.xz.tmp-dl'
[ALL ] Resolving gcc.gnu.org (gcc.gnu.org)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'gcc.gnu.org'
[DEBUG] Not at this location: "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.xz"
[DEBUG] Trying 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.lzma'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.lzma.tmp-dl' 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.lzma'
[ALL ] --2014-10-07 09:21:39-- http://www.bastoul.net/cloog/pages/down ... 1.tar.lzma
[ALL ] Resolving www.bastoul.net (www.bastoul.net)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'www.bastoul.net'
[DEBUG] Not at this location: "http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.lzma"
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.lzma'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.lzma.tmp-dl' 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.lzma'
[ALL ] --2014-10-07 09:21:49-- ftp://gcc.gnu.org/pub/gcc/infrastructur ... 1.tar.lzma
[ALL ] => '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.lzma.tmp-dl'
[ALL ] Resolving gcc.gnu.org (gcc.gnu.org)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'gcc.gnu.org'
[DEBUG] Not at this location: "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.lzma"
[DEBUG] Trying 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.bz2'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.bz2.tmp-dl' 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.bz2'
[ALL ] --2014-10-07 09:21:59-- http://www.bastoul.net/cloog/pages/down ... .1.tar.bz2
[ALL ] Resolving www.bastoul.net (www.bastoul.net)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'www.bastoul.net'
[DEBUG] Not at this location: "http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.bz2"
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.bz2'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.bz2.tmp-dl' 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.bz2'
[ALL ] --2014-10-07 09:22:09-- ftp://gcc.gnu.org/pub/gcc/infrastructur ... .1.tar.bz2
[ALL ] => '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.bz2.tmp-dl'
[ALL ] Resolving gcc.gnu.org (gcc.gnu.org)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'gcc.gnu.org'
[DEBUG] Not at this location: "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.bz2"
[DEBUG] Trying 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.gz'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.gz.tmp-dl' 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.gz'
[ALL ] --2014-10-07 09:22:19-- http://www.bastoul.net/cloog/pages/down ... 8.1.tar.gz
[ALL ] Resolving www.bastoul.net (www.bastoul.net)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'www.bastoul.net'
[DEBUG] Not at this location: "http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.gz"
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.gz'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.gz.tmp-dl' 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.gz'
[ALL ] --2014-10-07 09:22:29-- ftp://gcc.gnu.org/pub/gcc/infrastructur ... 8.1.tar.gz
[ALL ] => '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.gz.tmp-dl'
[ALL ] Resolving gcc.gnu.org (gcc.gnu.org)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'gcc.gnu.org'
[DEBUG] Not at this location: "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.gz"
[DEBUG] Trying 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tgz'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tgz.tmp-dl' 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tgz'
[ALL ] --2014-10-07 09:22:39-- http://www.bastoul.net/cloog/pages/down ... 0.18.1.tgz
[ALL ] Resolving www.bastoul.net (www.bastoul.net)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'www.bastoul.net'
[DEBUG] Not at this location: "http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tgz"
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tgz'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tgz.tmp-dl' 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tgz'
[ALL ] --2014-10-07 09:22:49-- ftp://gcc.gnu.org/pub/gcc/infrastructur ... 0.18.1.tgz
[ALL ] => '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tgz.tmp-dl'
[ALL ] Resolving gcc.gnu.org (gcc.gnu.org)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'gcc.gnu.org'
[DEBUG] Not at this location: "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tgz"
[DEBUG] Trying 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.tmp-dl' 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar'
[ALL ] --2014-10-07 09:22:59-- http://www.bastoul.net/cloog/pages/down ... 0.18.1.tar
[ALL ] Resolving www.bastoul.net (www.bastoul.net)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'www.bastoul.net'
[DEBUG] Not at this location: "http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar"
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.tmp-dl' 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar'
[ALL ] --2014-10-07 09:23:09-- ftp://gcc.gnu.org/pub/gcc/infrastructur ... 0.18.1.tar
[ALL ] => '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tar.tmp-dl'
[ALL ] Resolving gcc.gnu.org (gcc.gnu.org)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'gcc.gnu.org'
[DEBUG] Not at this location: "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar"
[DEBUG] Trying 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.zip'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.zip.tmp-dl' 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.zip'
[ALL ] --2014-10-07 09:23:19-- http://www.bastoul.net/cloog/pages/down ... 0.18.1.zip
[ALL ] Resolving www.bastoul.net (www.bastoul.net)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'www.bastoul.net'
[DEBUG] Not at this location: "http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.zip"
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.zip'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.zip.tmp-dl' 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.zip'
[ALL ] --2014-10-07 09:23:29-- ftp://gcc.gnu.org/pub/gcc/infrastructur ... 0.18.1.zip
[ALL ] => '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.zip.tmp-dl'
[ALL ] Resolving gcc.gnu.org (gcc.gnu.org)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'gcc.gnu.org'
[DEBUG] Not at this location: "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.zip"
[DEBUG] Trying 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tmp-dl' 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.1'
[ALL ] --2014-10-07 09:23:39-- http://www.bastoul.net/cloog/pages/down ... oog-0.18.1
[ALL ] Resolving www.bastoul.net (www.bastoul.net)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'www.bastoul.net'
[DEBUG] Not at this location: "http://www.bastoul.net/cloog/pages/download/cloog-0.18.1"
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tmp-dl' 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1'
[ALL ] --2014-10-07 09:23:49-- ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1
[ALL ] => '/media/supermap/OpenWRT/Espressif/crosstool-NG/.build/tarballs/cloog-0.18.1.tmp-dl'
[ALL ] Resolving gcc.gnu.org (gcc.gnu.org)... failed: Connection timed out.
[ALL ] wget: unable to resolve host address 'gcc.gnu.org'
[DEBUG] Not at this location: "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1"
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: do_cloog_get[scripts/build/companion_libs/130-cloog.sh@741]
[ERROR] >> called from: do_companion_libs_get[scripts/build/companion_libs.sh@15]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@583]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/opt/Espressif/crosstool-NG/share/doc/crosstool-ng/ct-ng.1.20.0/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 2:42.80)
User avatar
By jcmvbkbc
#1350
OpenThings wrote:I am ruuning ./ct-ng build,but hung-up, How to continue?
as can't find cloog,but i can download it mannully.

Download missing archives into .build/tarballs and run ./ct-ng build again.