Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690006 - dev-util/electron error: unrecognized command line option '-fuse-ld=lld'; did you mean '-fuse-ld=bfd'?
Summary: dev-util/electron error: unrecognized command line option '-fuse-ld=lld'; did...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-16 17:36 UTC by Petross404(Petros S)
Modified: 2019-08-04 08:54 UTC (History)
1 user (show)

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


Attachments
dev-util-electron-2.0.17-r1:20190716-194845.log (dev-util:electron-2.0.17-r1:20190716-194845.log,807.87 KB, text/x-log)
2019-07-16 17:36 UTC, Petross404(Petros S)
Details
emerge --info (emerge.info,23.04 KB, application/x-info)
2019-07-16 17:38 UTC, Petross404(Petros S)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petross404(Petros S) 2019-07-16 17:36:35 UTC
Created attachment 583104 [details]
dev-util-electron-2.0.17-r1:20190716-194845.log

Installing dev-util/electron-2.0.17-r1 game this error:

[581/587] x86_64-pc-linux-gnu-g++ -MMD -MF obj/v8/src/inspector/inspector/v8-runtime-agent-impl.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBUILDING_V8_SHARED -DV8_INTL_SUPPORT -DV8_USE_SNAPSHOT -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_TARGET_ARCH_X64 -I../../v8 -I../../v8/include -Igen/v8 -Igen/v8/include -I../.. -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -flto=thin -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -fomit-frame-pointer -g0 -fvisibility=hidden -Wno-strict-overflow -O3 -fno-ident -fdata-sections -ffunction-sections -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -march=native -frecord-gcc-switches -pipe -O2 -fno-delete-null-pointer-checks -c ../../v8/src/inspector/v8-runtime-agent-impl.cc -o obj/v8/src/inspector/inspector/v8-runtime-agent-impl.o
[582/587] touch obj/v8/src/inspector/inspector.stamp
[583/587] touch obj/v8/v8_base.stamp
[584/587] touch obj/v8/v8_builtins_generators.stamp
[585/587] touch obj/v8/v8_nosnapshot.stamp
[586/587] touch obj/v8/v8_builtins_setup.stamp
[587/587] python "../../build/toolchain/gcc_link_wrapper.py" --output="./mksnapshot" -- x86_64-pc-linux-gnu-g++ -pie -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -fuse-ld=lld -flto=thin -Wl,--thinlto-jobs=8 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy,cache_size=10\% -Wl,--lto-O0 -m64 -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,-rpath=\$ORIGIN/. -Wl,-rpath-link=. -Wl,-O1 -Wl,--gc-sections -Wl,-O2 -Wl,--sort-common -Wl,--trace -Wl,-z,relro -Wl,-z,now -Wl,--stats -Wl,--print-map -Wl,--hash-style=gnu -Wl,--enable-new-dtags -march=native -frecord-gcc-switches -pipe -O2 -o "./mksnapshot" -Wl,--start-group @"./mksnapshot.rsp"  -Wl,--end-group   -ldl -lpthread -lrt -licui18n -licuuc -licudata 
FAILED: mksnapshot 
python "../../build/toolchain/gcc_link_wrapper.py" --output="./mksnapshot" -- x86_64-pc-linux-gnu-g++ -pie -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -fuse-ld=lld -flto=thin -Wl,--thinlto-jobs=8 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy,cache_size=10\% -Wl,--lto-O0 -m64 -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,-rpath=\$ORIGIN/. -Wl,-rpath-link=. -Wl,-O1 -Wl,--gc-sections -Wl,-O2 -Wl,--sort-common -Wl,--trace -Wl,-z,relro -Wl,-z,now -Wl,--stats -Wl,--print-map -Wl,--hash-style=gnu -Wl,--enable-new-dtags -march=native -frecord-gcc-switches -pipe -O2 -o "./mksnapshot" -Wl,--start-group @"./mksnapshot.rsp"  -Wl,--end-group   -ldl -lpthread -lrt -licui18n -licuuc -licudata 
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-fuse-ld=lld'; did you mean '-fuse-ld=bfd'?
ninja: build stopped: subcommand failed.
 * ERROR: dev-util/electron-2.0.17-r1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 5155:  Called eninja '-C' '/mnt/Volume_3/Gentoo/temp/portage/dev-util/electron-2.0.17-r1/work/electron-2.0.17/chromium/out/Release' 'mksnapshot'
 *   environment, line 1952:  Called die
 * The specific snippet of code:
 *       "$@" || die
 * 
 * If you need support, post the output of `emerge --info '=dev-util/electron-2.0.17-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/electron-2.0.17-r1::gentoo'`.
 * 
 * MemTotal:        8153136 kB
 * SwapTotal:       4194300 kB
 * 
 * The complete build log is located at '/var/log/portage/dev-util:electron-2.0.17-r1:20190716-194845.log'.
 * The ebuild environment file is located at '/mnt/Volume_3/Gentoo/temp/portage/dev-util/electron-2.0.17-r1/temp/environment'.
 * Working directory: '/mnt/Volume_3/Gentoo/temp/portage/dev-util/electron-2.0.17-r1/work/electron-2.0.17/chromium'
 * S: '/mnt/Volume_3/Gentoo/temp/portage/dev-util/electron-2.0.17-r1/work/electron-2.0.17'

Is it trying to use llvm's linker?
Comment 1 Petross404(Petros S) 2019-07-16 17:38:43 UTC
Created attachment 583118 [details]
emerge --info