Re-building glibc-2.20-r2 for the first time since the change (17th March) to invoke the 'new tc-ld-disable-gold helper', cf. /usr/portage/sys-libs/glibc/ChangeLog, fails if -Wl--verbose is passed as an option to gcc. For forgotten reasons this has been the case on my system when debug (-ggdb) is enabled but has not previously caused problems. --verbose causes ld to 'list the linker emulations supported' which leads to the following output in my case: GNU ld (Gentoo 2.25 p1.2) 2.25 Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om and the following diagnostic: /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/config.make:69: *** missing separator. Stop. Removing --verbose from the options passed fixes things and the build then succeeds. Reproducible: Always
(In reply to Adrian.Bassett from comment #0) > /usr/portage/sys-libs/glibc/ChangeLog, fails if -Wl--verbose is passed as an Typo: should read -Wl,--verbose
welcome to the wonderful world of portability. a lot of configure compiler checks are implemented by basically grepping the output because there is no other sane way of detecting "is this flag supported" across a variety of toolchains. using -Wl,--verbose in LDFLAGS is dangerous (can lead to both build failures like this and silent change in behavior when configure tests go the wrong way but still build). i have no plans to try and support this. also, you must provide full build logs as attachments as well as emerge info with every bug report. we often cannot work by tiny snippets.