Hey, I try to compile v0.10.25 for OpenWRT. Target is an AMD Geode based Alix2D13, getting a build system working that supports other platforms would be a nice bonus. Anyway, I am running in a problem I don't know how to solve - the linking step for v8 fails, but the referenced files can be found in out/Release. I tried to compile for other OpenWRT targets (x86 - Generic, e.g.) to see if the error occurs - they fail, too.
*The error* *After command:* flock ~/openwrt/build_dir/target-i386_uClibc-0.9.33.2/node-v0.10.25/out/Release/linker.lock i486-openwrt-linux-uclibc-g++ -pthread -rdynamic -Wl,--whole-archive *[all the includes]* -Wl,--end-group -L~/openwrt/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib -lssl -lcrypto -lm -ldl -lrt *Output (example, full log here <https://gist.github.com/marionebl/8752054>):* ~/openwrt/build_dir/target-i386_geode_uClibc-0.9.33.2/node-v0.10.25/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a(assembler.o): In function `v8::internal::ExternalReference::flush_icache_function(v8::internal::Isolate*)': *Finally* collect2: ld returned 1 exit status *More Information* *config.gypi:* https://gist.github.com/marionebl/8752179<https://gist.github.com/marionebl/8752179> *OpenWRT package Makefile:* https://gist.github.com/marionebl/8752209 *configure call: * configure --prefix=/usr --without-dtrace --without-snapshot --without-etw --dest-cpu=i386 --shared-openssl --dest-os=linux *make call: * CFLAGS="-Os -pipe -march=geode -mmmx -m3dnow -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -I~/openwrt/staging_dir/target-i386_geode_uClibc-0.9.33.2/usr/include -I~/openwrt/staging_dir/target-i386_geode_uClibc-0.9.33.2/include -I~/openwrt/staging_dir/toolchain-i386_geode_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I~/openwrt/staging_dir/toolchain-i386_geode_gcc-4.6-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -march=geode -mmmx -m3dnow -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -I~/openwrt/staging_dir/target-i386_geode_uClibc-0.9.33.2/usr/include -I~/openwrt/staging_dir/target-i386_geode_uClibc-0.9.33.2/include -I~/openwrt/staging_dir/toolchain-i386_geode_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I~/openwrt/staging_dir/toolchain-i386_geode_gcc-4.6-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L~/openwrt/staging_dir/target-i386_geode_uClibc-0.9.33.2/usr/lib -L~/openwrt/staging_dir/target-i386_geode_uClibc-0.9.33.2/lib -L~/openwrt/staging_dir/toolchain-i386_geode_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L~/openwrt/staging_dir/toolchain-i386_geode_gcc-4.6-linaro_uClibc-0.9.33.2/lib " *CPU on target:* processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 10 model name : Geode(TM) Integrated Processor by AMD PCS stepping : 2 microcode : 0x88a93d cpu MHz : 498.052 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 3dnowext 3dnow bogomips : 996.10 clflush size : 32 cache_alignment : 32 address sizes : 32 bits physical, 32 bits virtual power management: -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
