Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632612 - sys-devel/llvm-3.9.1-r1 fails apparently due to typo -std=c*+11
Summary: sys-devel/llvm-3.9.1-r1 fails apparently due to typo -std=c*+11
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-01 07:58 UTC by Martin Wolters
Modified: 2017-10-02 11:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo.txt,5.85 KB, text/plain)
2017-10-01 07:59 UTC, Martin Wolters
Details
Compressed build log (build.log.bz2,150.68 KB, application/x-bzip)
2017-10-02 11:50 UTC, Martin Wolters
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wolters 2017-10-01 07:58:26 UTC
Trying to install llvm-3.9.1-r1 with abi_x86_32 fails due to what seems to me to be a typo (-std=c*+11 instead of -std=c++11).

Relevant portion of the build log:

 * abi_x86_32.x86: running multilib-minimal_abi_src_install
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src-abi_x86_32.x86"
[1/60] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/LoopRotation.cpp.o
[2/60] Linking CXX shared library lib32/libLLVMScalarOpts.so.39.1
[3/60] Creating library symlink lib32/libLLVMScalarOpts.so.39 lib32/libLLVMScalarOpts.so
[4/60] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TargetPassConfig.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TargetPassConfig.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/CodeGen -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/CodeGen -Iinclude -I/var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/include  -DNDEBUG -march=corei7-avx -O2 -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c*+11 -ffunction-sections -fdata-sections -fPIC -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TargetPassConfig.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TargetPassConfig.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TargetPassConfig.cpp.o -c /var/tmp/portage/sys-devel/llvm-3.9.1-r1/work/llvm-3.9.1.src/lib/CodeGen/TargetPassConfig.cpp
x86_64-pc-linux-gnu-g++: error: unrecognized command line option ‘-std=c*+11’
[5/60] Linking CXX shared library lib32/libLLVMipo.so.39.1
[6/60] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TargetSchedule.cpp.o
ninja: build stopped: subcommand failed.

Attaching emerge --info. The full build log is several MB in size, so I can't attach it.
I uploaded it here: http://korova.vellocet.org/b/build.log
Comment 1 Martin Wolters 2017-10-01 07:59:35 UTC
Created attachment 497290 [details]
emerge --info
Comment 2 Jonas Stein gentoo-dev 2017-10-01 19:24:10 UTC
Thank you for the report. Please *attach* the compressed logfiles,
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29
and reopen this ticket (Status:unconfirmed).
Comment 3 Martin Wolters 2017-10-02 11:50:56 UTC
Created attachment 497406 [details]
Compressed build log