Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731178 - net-analyzer/scanssh-2.1-r1 - src_configure(): ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crt1.o is incompatible with elf_x86_64
Summary: net-analyzer/scanssh-2.1-r1 - src_configure(): ld.lld: error: /usr/lib/gcc/x8...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-07 06:23 UTC by Agostino Sarubbo
Modified: 2020-07-07 08:21 UTC (History)
0 users

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


Attachments
build.log (build.log,9.74 KB, text/plain)
2020-07-07 06:23 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,4.01 KB, application/x-bzip-compressed-tar)
2020-07-07 06:23 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-07 06:23:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/scanssh fails to compile.
Discovered on: amd64

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-07 06:23:47 UTC
Created attachment 648122 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-07 06:23:49 UTC
Created attachment 648124 [details]
other.tar.bz2

other logs
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-07 08:03:13 UTC
configure:2829: checking for bufferevent in libevent
configure:2851: x86_64-pc-linux-gnu-clang -o conftest -I/usr/include  -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 conftest.c -L/usr/lib -levent >&5
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crt1.o is incompatible with elf_x86_64
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crti.o is incompatible with elf_x86_64
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/crtbegin.o is incompatible with elf_x86_64
ld.lld: error: /var/tmp/portage/net-analyzer/scanssh-2.1-r1/temp/conftest-93f389.o is incompatible with elf_x86_64
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/libevent.so is incompatible with elf_x86_64
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc_s.so.1 is incompatible with elf_x86_64
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc_s.so.1 is incompatible with elf_x86_64
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/crtend.o is incompatible with elf_x86_64
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crtn.o is incompatible with elf_x86_64
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
configure:2854: $? = 1
configure: failed program was:
#line 2832 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/time.h>
#include <stdlib.h>
#include <event.h>
int
main ()
{

        struct bufferevent bev;
        bufferevent_settimeout(&bev, 1, 1);

  ;
  return 0;
}
configure:2868: error: you need to install a more recent version of libevent,
        check http://www.monkey.org/~provos/libevent/
Comment 4 Larry the Git Cow gentoo-dev 2020-07-07 08:21:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce597f4ec51eca5cf22fb914e45c770cf2f57f8c

commit ce597f4ec51eca5cf22fb914e45c770cf2f57f8c
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-07-07 08:20:34 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-07-07 08:21:35 +0000

    net-analyzer/scanssh: Fix libdir checks
    
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Closes: https://bugs.gentoo.org/731178
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/scanssh/files/scanssh-2.0-libdir.diff | 177 +++++++++++++++++++++
 ...scanssh-2.1-r1.ebuild => scanssh-2.1-r2.ebuild} |  16 +-
 2 files changed, 191 insertions(+), 2 deletions(-)