Hi Jérémy Adding some rules in the Debian packaging to cope with the Ubuntu minimum target and features for armel would be great (no delta!); Looking at the 3.4 packaging I think this should be pretty easy to work into debian/rules:
ifeq (armhf, $(DEB_HOST_ARCH)) CXXFLAGS += -fno-tree-sink CXXFLAGS += -Wno-psabi # enable armv7 vfpv3 GYPFLAGS += -Darmv7=1 -Darm_fpu=vfpv3 -Darm_neon=0 -Dv8_use_arm_eabi_hardfloat=true endif ifeq (armel, $(DEB_HOST_ARCH)) CXXFLAGS += -fno-tree-sink CXXFLAGS += -Wno-psabi ifeq ($(shell dpkg-vendor --is ubuntu && echo true),true) # Ubuntu targets armv7+ with VFP and thumb2 support by default for armel GYPFLAGS += -Darmv7=1 -Darm_fpu=vfpv3 -Dv8_use_arm_eabi_hardfloat=false else DEB_MAKE_EXTRA_ARGS += vfp3=off # Disable thumb-interworking because v8 supports it only on >= armv5t. # http://code.google.com/p/v8/issues/detail?id=590 CXXFLAGS += -mno-thumb-interwork # disable armv7, use softfloat GYPFLAGS += -Darmv7=0 -Dv8_can_use_unaligned_accesses=false -Dv8_use_arm_eabi_hardfloat=false endif endif I've not tested the above but I think it should broadly work (I think I've mimiced this in the 3.4 package to resolve the current FTBFS); happy to give it a test with the 3.5 package in the next few days on Ubuntu precise to see if it works OK. Cheers James -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/898558 Title: libv8 version 3.4.14.21-5 failed to build on armel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libv8/+bug/898558/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
