Summary: | www-client/chromium-6.0.401.1: can't compile (SSE2 not enabled) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tomas Racek <tom> |
Component: | Current packages | Assignee: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, voyageur |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Tomas Racek
2010-05-17 11:17:06 UTC
I get the same error with www-client/chromium-9999 and -march=pentium3 My CPU does not support SSE2 instructions, but chromium will not build without it Does adding -DUSE_SSE=0 to CFLAGS when compiling www-client/chromium solve the problem? (In reply to comment #2) > Does adding -DUSE_SSE=0 to CFLAGS when compiling www-client/chromium solve the > problem? > Good point. ;-) The chromium compiles fine with this flag. However the merge ends with: i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -DUSE_SSE=0 -D__STDC_CONSTANT_MACROS -O2 -march=athlon-xp -pipe -fomit-frame-pointer -DUSE_SSE=0 -D__STDC_CONSTANT_MACROS -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -m32 -mmmx -fno-strict-aliasing -std=gnu99 -O2 -fno-ident -fdata-sections -ffunction-sections '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' -I. -MMD -MF out/Release/.deps/out/Release/obj.target/chrome_sandbox/sandbox/linux/suid/process_util_linux.o.d.raw -c -o out/Release/obj.target/chrome_sandbox/sandbox/linux/suid/process_util_linux.o sandbox/linux/suid/process_util_linux.c i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -DUSE_SSE=0 -D__STDC_CONSTANT_MACROS -O2 -march=athlon-xp -pipe -fomit-frame-pointer -DUSE_SSE=0 -D__STDC_CONSTANT_MACROS -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -m32 -mmmx -fno-strict-aliasing -std=gnu99 -O2 -fno-ident -fdata-sections -ffunction-sections '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' -I. -MMD -MF out/Release/.deps/out/Release/obj.target/chrome_sandbox/sandbox/linux/suid/sandbox.o.d.raw -c -o out/Release/obj.target/chrome_sandbox/sandbox/linux/suid/sandbox.o sandbox/linux/suid/sandbox.c i686-pc-linux-gnu-g++ -Wl,-O1 -Wl,-O1 -pthread -Wl,-z,noexecstack -m32 -Wl,--gc-sections -o out/Release/chrome_sandbox -Wl,--start-group out/Release/obj.target/chrome_sandbox/sandbox/linux/suid/linux_util.o out/Release/obj.target/chrome_sandbox/sandbox/linux/suid/process_util_linux.o out/Release/obj.target/chrome_sandbox/sandbox/linux/suid/sandbox.o -Wl,--end-group >>> Source compiled. >>> Test phase [not enabled]: www-client/chromium-6.0.401.1 >>> Install chromium-6.0.401.1 into /var/tmp/portage/www-client/chromium-6.0.401.1/image/ category www-client * Fallback PaX marking -m * out/Release/chrome TYPE PAX FILE ET_EXEC --mxe- out/Release/chrome >>> Completed installing chromium-6.0.401.1 into /var/tmp/portage/www-client/chromium-6.0.401.1/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/chromium-browser/chrome usr/lib/chromium-browser/chrome_sandbox ecompressdir: bzip2 -9 /usr/share/man >>> Installing (1 of 1) www-client/chromium-6.0.401.1 * >>> SetUID: [chmod go-r] /usr/lib/chromium-browser/chrome_sandbox ... [ ok ] * Messages for package www-client/chromium-6.0.401.1: * ERROR: www-client/chromium-6.0.401.1 failed: * compilation failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2708: Called die * The specific snippet of code: * emake -r V=1 chrome chrome_sandbox BUILDTYPE=Release rootdir="${S}" CC=$(tc-getCC) CXX=$(tc-getCXX) AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) || die "compilation failed" * * If you need support, post the output of 'emerge --info =www-client/chromium-6.0.401.1', * the complete build log and the output of 'emerge -pqv =www-client/chromium-6.0.401.1'. * The complete build log is located at '/var/tmp/portage/www-client/chromium-6.0.401.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-6.0.401.1/temp/environment'. * S: '/var/tmp/portage/www-client/chromium-6.0.401.1/work/chromium-6.0.401.1' * Messages for package www-client/chromium-6.0.401.1: * Fallback PaX marking -m * out/Release/chrome >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. I have no clue if it's related to the problem mentioned above, nevertheless chromium works. ;-) Fixed in dev channel version bump. I believe this workaround can be removed: they fixed it upstream. http://code.google.com/p/chromium/issues/detail?id=44643 http://codereview.chromium.org/2360002 Re-opening then. |