Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784542 - app-office/libreoffice-7.1.2.2: C compiler cannot create executables
Summary: app-office/libreoffice-7.1.2.2: C compiler cannot create executables
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-20 19:53 UTC by Oleg Korsak
Modified: 2021-04-20 20:04 UTC (History)
0 users

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


Attachments
config.log (config.log,41.11 KB, text/x-log)
2021-04-20 19:55 UTC, Oleg Korsak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Korsak 2021-04-20 19:53:40 UTC
...
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... -Wl,-O1 -Wl,--as-needed -fuse-ld=lld
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/app-office/libreoffice-7.1.2.2/work/libreoffice-7.1.2.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

Reproducible: Always

Steps to Reproduce:
1. emerge libreoffice
2.
3.


Expected Results:  
compiled and installed package
Comment 1 Oleg Korsak 2021-04-20 19:55:02 UTC
Created attachment 701325 [details]
config.log
Comment 2 Brian Evans (RETIRED) gentoo-dev 2021-04-20 20:04:03 UTC
Fix your flags for the chosen CC

CC='x86_64-pc-linux-gnu-clang'

configure:6975: checking whether the C compiler works
configure:6997: x86_64-pc-linux-gnu-clang -O2 -pipe -march=haswell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mno-sgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-avx512vpopcntdq -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqcmd -mno-avx512vp2intersect --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -fomit-frame-pointer -mtune=haswell  -Wl,-O1 -Wl,--as-needed -fuse-ld=lld conftest.c  >&5
clang-12: error: unknown argument '-mabm'; did you mean '-marm'?
clang-12: error: unknown argument: '-mno-hle'
clang-12: error: unknown argument: '-mno-avx5124fmaps'
clang-12: error: unknown argument: '-mno-avx5124vnniw'