Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 862348 - app-forensics/aflplusplus-4.01c-r1 - src/afl-ld-lto.c: error: PATH_MAX undeclared (first use in this function)
Summary: app-forensics/aflplusplus-4.01c-r1 - src/afl-ld-lto.c: error: PATH_MAX undecl...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-30 14:36 UTC by Toralf Förster
Modified: 2022-07-30 14:36 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.62 KB, text/plain)
2022-07-30 14:36 UTC, Toralf Förster
Details
app-forensics:aflplusplus-4.01c-r1:20220730-132230.log (app-forensics:aflplusplus-4.01c-r1:20220730-132230.log,43.61 KB, text/plain)
2022-07-30 14:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,45.26 KB, text/plain)
2022-07-30 14:36 UTC, Toralf Förster
Details
environment (environment,95.92 KB, text/plain)
2022-07-30 14:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.61 KB, application/x-bzip)
2022-07-30 14:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.22 KB, application/x-bzip)
2022-07-30 14:36 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 2022-07-30 14:36:30 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/afl-llvm-dict2file
x86_64-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/compare-transform-
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -Wall -g -Wno-cast-qual -Wno
src/afl-ld-lto.c: In function 'main':
src/afl-ld-lto.c:261:15: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'ARITH_MAX'?
  261 |   char thecwd[PATH_MAX];
      |               ^~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.62.1 *
php cli:

  HEAD of ::gentoo
commit 502bdf0eb4d8326f976d0c8a836d6cfed999f6cd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jul 30 10:01:48 2022 +0000

    2022-07-30 10:01:47 UTC

emerge -qpvO app-forensics/aflplusplus
[ebuild  N    ] app-forensics/aflplusplus-4.01c-r1  USE="-test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-07-30 14:36:31 UTC
Created attachment 795814 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-30 14:36:32 UTC
Created attachment 795817 [details]
app-forensics:aflplusplus-4.01c-r1:20220730-132230.log
Comment 3 Toralf Förster gentoo-dev 2022-07-30 14:36:33 UTC
Created attachment 795820 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-07-30 14:36:35 UTC
Created attachment 795823 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-30 14:36:36 UTC
Created attachment 795826 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-30 14:36:37 UTC
Created attachment 795829 [details]
temp.tar.bz2