https://sourceware.org/bugzilla/show_bug.cgi?id=32155

            Bug ID: 32155
           Summary: elfutils fails to compile with "srcfiles.cxx:354:10:
                    error: use of undeclared identifier 'no_backup'"
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: evvers at ya dot ru
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

I'm trying to figure out why elfutils started failing to compile on OSS-Fuzz.
https://oss-fuzz-build-logs.storage.googleapis.com/index.html#elfutils.
According to `git bisect` the first commit where it started failing with that
particular error was
https://sourceware.org/git/?p=elfutils.git;a=commit;h=d6443d1a4df6057f9012d105037f52daaca911f1
but trying to reproduce it locally I ran into another build failure:

```
libdwelf -I./../libdwfl -I./../libasm -I../debuginfod  -std=c++11 -Wall
-Wshadow    -Wnull-dereference -Wimplicit-fallthrough -Werror -Wunused -Wextra 
  -D_FORTIFY_SOURCE=3 -Wno-error -O1 -fno-omit-frame-pointer -g
-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address
-fsanitize=fuzzer-no-link -MT srcfiles.o -MD -MP -MF .deps/srcfiles.Tpo -c -o
srcfiles.o srcfiles.cxx
srcfiles.cxx:354:10: error: use of undeclared identifier 'no_backup'
  354 |     if (!no_backup)
      |          ^
1 error generated.
```
The script configuring elfutils there runs

```
./configure --enable-maintainer-mode --disable-debuginfod
--disable-libdebuginfod \
            --disable-demangler --without-bzlib --without-lzma --without-zstd
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to