{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/10488","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/10488/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/10488/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/10488/events","html_url":"https://github.com/JuliaLang/julia/issues/10488","id":60804390,"number":10488,"title":"Cross-compiling for ARMv6","user":{"login":"vishnusuganth","id":11439816,"avatar_url":"https://avatars.githubusercontent.com/u/11439816?v=3","gravatar_id":"","url":"https://api.github.com/users/vishnusuganth","html_url":"https://github.com/vishnusuganth","followers_url":"https://api.github.com/users/vishnusuganth/followers","following_url":"https://api.github.com/users/vishnusuganth/following{/other_user}","gists_url":"https://api.github.com/users/vishnusuganth/gists{/gist_id}","starred_url":"https://api.github.com/users/vishnusuganth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishnusuganth/subscriptions","organizations_url":"https://api.github.com/users/vishnusuganth/orgs","repos_url":"https://api.github.com/users/vishnusuganth/repos","events_url":"https://api.github.com/users/vishnusuganth/events{/privacy}","received_events_url":"https://api.github.com/users/vishnusuganth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/arm","name":"arm","color":"fbca04"},{"url":"https://api.github.com/repos/JuliaLang/julia/labels/build","name":"build","color":"444444"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-03-12T11:23:44Z","updated_at":"2015-03-16T08:41:23Z","closed_at":"2015-03-12T12:42:08Z","body":"I am trying to cross-build Julia for ARMv6 with arm-buildroot-linux-uclibcgnueabi toolchain on a Intel-PC(x86) as a build machine.\r\n\r\nWhat are the Makefile config parameters to be changed for such a cross-compilation ?"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/81506110","html_url":"https://github.com/JuliaLang/julia/issues/10488#issuecomment-81506110","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/10488","id":81506110,"user":{"login":"vishnusuganth","id":11439816,"avatar_url":"https://avatars.githubusercontent.com/u/11439816?v=3","gravatar_id":"","url":"https://api.github.com/users/vishnusuganth","html_url":"https://github.com/vishnusuganth","followers_url":"https://api.github.com/users/vishnusuganth/followers","following_url":"https://api.github.com/users/vishnusuganth/following{/other_user}","gists_url":"https://api.github.com/users/vishnusuganth/gists{/gist_id}","starred_url":"https://api.github.com/users/vishnusuganth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishnusuganth/subscriptions","organizations_url":"https://api.github.com/users/vishnusuganth/orgs","repos_url":"https://api.github.com/users/vishnusuganth/repos","events_url":"https://api.github.com/users/vishnusuganth/events{/privacy}","received_events_url":"https://api.github.com/users/vishnusuganth/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T08:41:23Z","updated_at":"2015-03-16T08:41:23Z","body":"@ViralBShah I skipped FFTW and continued the build.It broke at this point with some error.\r\n\r\n    CC src/support/strtod.o\r\nIn file included from libsupport.h:10:0,\r\n                 from strtod.c:2:\r\nutils.h:76:0: warning: \"bswap_16\" redefined [enabled by default]\r\n #define bswap_16(x) (((x) & 0x00ff) << 8 | ((x) & 0xff00) >> 8)\r\n ^\r\nIn file included from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/endian.h:61:0,\r\n                 from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/waitstatus.h:65,\r\n                 from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdlib.h:45,\r\n                 from libsupport.h:6,\r\n                 from strtod.c:2:\r\n/home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/byteswap.h:30:0: note: this is the location of the previous definition\r\n #define bswap_16(x) __bswap_16 (x)\r\n ^\r\nIn file included from libsupport.h:10:0,\r\n                 from strtod.c:2:\r\nutils.h:81:0: warning: \"bswap_32\" redefined [enabled by default]\r\n #define bswap_32(x) \\\r\n ^\r\nIn file included from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/endian.h:61:0,\r\n                 from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/waitstatus.h:65,\r\n                 from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdlib.h:45,\r\n                 from libsupport.h:6,\r\n                 from strtod.c:2:\r\n/home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/byteswap.h:33:0: note: this is the location of the previous definition\r\n #define bswap_32(x) __bswap_32 (x)\r\n ^\r\nIn file included from libsupport.h:10:0,\r\n                 from strtod.c:2:\r\nutils.h:97:0: warning: \"bswap_64\" redefined [enabled by default]\r\n #define bswap_64(x) ByteSwap64(x)\r\n ^\r\nIn file included from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/endian.h:61:0,\r\n                 from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/waitstatus.h:65,\r\n                 from /home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdlib.h:45,\r\n                 from libsupport.h:6,\r\n                 from strtod.c:2:\r\n/home/vish/work/ssdk-a5n2/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/byteswap.h:37:0: note: this is the location of the previous definition\r\n # define bswap_64(x) __bswap_64 (x)\r\n ^\r\nstrtod.c:19:1: error: unknown type name 'locale_t'\r\n static locale_t c_locale;\r\n ^\r\nstrtod.c:21:1: error: unknown type name 'locale_t'\r\n locale_t get_c_locale()\r\n ^\r\nstrtod.c: In function 'get_c_locale':\r\nstrtod.c:26:5: warning: implicit declaration of function 'newlocale' [-Wimplicit-function-declaration]\r\n     c_locale = newlocale(LC_ALL_MASK, \"C\", NULL);\r\n     ^\r\nstrtod.c:26:26: error: 'LC_ALL_MASK' undeclared (first use in this function)\r\n     c_locale = newlocale(LC_ALL_MASK, \"C\", NULL);\r\n                          ^\r\nstrtod.c:26:26: note: each undeclared identifier is reported only once for each function it appears in\r\nstrtod.c: In function 'strtod_c':\r\nstrtod.c:33:3: warning: implicit declaration of function 'strtod_l' [-Wimplicit-function-declaration]\r\n   return strtod_l(nptr, endptr, get_c_locale());\r\n   ^\r\nstrtod.c: In function 'strtof_c':\r\nstrtod.c:38:3: warning: implicit declaration of function 'strtof_l' [-Wimplicit-function-declaration]\r\n   return strtof_l(nptr, endptr, get_c_locale());\r\n   ^\r\nMakefile:43: recipe for target '/home/vish/work/julia5/src/support/strtod.o' failed\r\nmake[2]: *** [/home/vish/work/julia5/src/support/strtod.o] Error 1\r\nMakefile:79: recipe for target 'support/libsupport.a' failed\r\nmake[1]: *** [support/libsupport.a] Error 2\r\nMakefile:76: recipe for target 'julia-src-release' failed"}}