-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugforwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.This report has been forwarded to Jane Street's internal review system.help-wanted
Description
While compiling this package on my armv6 (32-bit) Raspberry Pi, gcc gave this error:
g++: error: unrecognized command line option ‘-m32’
Makefile:160: recipe for target 'obj/util/arena.o' failed
The -m32 and -m64 flags aren't available on ARM because (unlike on Intel), there are separate 32/64-bit gcc toolchains. (source)
I tracked down where the flag gets added in src/re2_c/jbuild:
if ! ${ARCH_SIXTYFOUR}; then
CXX=\"$CXX -m32\"
fi
But I wasn't sure what the best way to exclude ARM without breaking the existing functionality. Thanks in advance for your help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugforwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.This report has been forwarded to Jane Street's internal review system.help-wanted