Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828689 - app-forensics/afl-2.57b-r1 - error: unable to load plugin ../afl-llvm-pass.so: Error relocating
Summary: app-forensics/afl-2.57b-r1 - error: unable to load plugin ../afl-llvm-pass.so...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-10 10:02 UTC by Toralf Förster
Modified: 2021-12-27 19:14 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.12 KB, text/plain)
2021-12-10 10:02 UTC, Toralf Förster
Details
app-forensics:afl-2.57b-r1:20211209-235817.log (app-forensics:afl-2.57b-r1:20211209-235817.log,9.63 KB, text/plain)
2021-12-10 10:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,25.39 KB, text/plain)
2021-12-10 10:02 UTC, Toralf Förster
Details
environment (environment,69.21 KB, text/plain)
2021-12-10 10:02 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.06 KB, application/x-bzip)
2021-12-10 10:02 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-10 10:02:03 UTC
[*] Building 32-bit variant of the runtime (-m32)... success!
[*] Building 64-bit variant of the runtime (-m64)... success!
[*] Testing the CC wrapper and instrumentation output...
unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; AFL_QUIET=1 AFL_PATH=. AFL_CC=clang ../afl-clang-fast -pipe -march=native -fno-diagnostics-color -O2 -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DVERSION=\"2.57b\"  ../test-instr.c -o test-instr -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
error: unable to load plugin '../afl-llvm-pass.so': 'Error relocating
      ../afl-llvm-pass.so:
      _ZNK4llvm10ModulePass17createPrinterPassERNS_11raw_ostreamERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
      symbol not found'
make: *** [Makefile:99: test_build] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20211209-163207

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 810bfa6329cb9230638b5378edfbc0c49236a659
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 9 23:06:49 2021 +0000

    2021-12-09 23:06:46 UTC

emerge -qpvO app-forensics/afl
[ebuild  N    ] app-forensics/afl-2.57b-r1
Comment 1 Toralf Förster gentoo-dev 2021-12-10 10:02:05 UTC
Created attachment 757958 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 10:02:06 UTC
Created attachment 757959 [details]
app-forensics:afl-2.57b-r1:20211209-235817.log
Comment 3 Toralf Förster gentoo-dev 2021-12-10 10:02:07 UTC
Created attachment 757960 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-10 10:02:08 UTC
Created attachment 757961 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-10 10:02:09 UTC
Created attachment 757962 [details]
etc.portage.tar.bz2
Comment 6 Larry the Git Cow gentoo-dev 2021-12-27 19:14:54 UTC
The bug has been closed via the following commit(s):

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

commit 7507da323f5f09b0d6f60e4f7293e456c09f1ec6
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2021-12-27 19:14:07 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2021-12-27 19:14:48 +0000

    app-forensics/afl: Disable clang-fast mode.
    
    This is currently broken with latest clang/llvm versions and an
    upstream bug remained unanswered. We may re-enable this
    once it's fixed upstream. This should resolve all clang-related
    bugs.
    
    Also fix doc installation (bug #720194).
    
    Signed-off-by: Hanno Böck <hanno@gentoo.org>
    Closes: https://bugs.gentoo.org/720194
    Closes: https://bugs.gentoo.org/695488
    Closes: https://bugs.gentoo.org/708524
    Closes: https://bugs.gentoo.org/821973
    Closes: https://bugs.gentoo.org/827107
    Closes: https://bugs.gentoo.org/828689
    Package-Manager: Portage-3.0.30, Repoman-3.0.3

 app-forensics/afl/afl-2.57b-r2.ebuild              | 48 ++++++++++++++++++++++
 .../afl/files/afl-2.57b-install-readmemd.diff      | 12 ++++++
 2 files changed, 60 insertions(+)