NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/59564: ELF source code compatibility regression



The following reply was made to PR lib/59564; it has been noted by GNATS.

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: Gnats Bugs <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: lib/59564: ELF source code compatibility regression
Date: Mon, 15 Dec 2025 09:49:01 -0500

 These changes seem to have broken builds of some software. With HEAD
 sources as of yesterday, for example, pkgsrc's www/firefox140 breaks:
 
 gmake[3]: Entering directory 
 '/tmp/pkgsrc_work/www/firefox140/work/build/third_party/abseil-cpp/absl/debugging/debugging_internal_gn'
 /tmp/pkgsrc_work/www/firefox140/work/.cwrapper/bin/c++ -o 
 Unified_cpp_ebugging_internal_gn0.o -c  
 -I/tmp/pkgsrc_work/www/firefox140/work/build/dist/stl_wrappers 
 -I/tmp/pkgsrc_work/www/firefox140/work/build/dist/system_wrappers 
 -include 
 /tmp/pkgsrc_work/www/firefox140/work/firefox-140.6.0/config/gcc_hidden.h 
 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong 
 -fstrict-flex-arrays=1 -DNDEBUG -DTRIMMED=1 -DABSL_ALLOCATOR_NOTHROW=1 
 -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNVALGRIND -DUSE_AURA=1 -DUSE_GLIB=1 
 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_UDEV -D_FILE_OFFSET_BITS=64 
 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DUSE_X11=1 -D_GNU_SOURCE 
 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL 
 -DMOZ_SUPPORT_LEAKCHECKING -DSTATIC_EXPORTABLE_JS_API 
 -I/tmp/pkgsrc_work/www/firefox140/work/firefox-140.6.0/third_party/abseil-cpp/absl/debugging/debugging_internal_gn 
 -I/tmp/pkgsrc_work/www/firefox140/work/build/third_party/abseil-cpp/absl/debugging/debugging_internal_gn 
 -I/tmp/pkgsrc_work/www/firefox140/work/build/ipcgmake[3]: Entering 
 directory 
 '/tmp/pkgsrc_work/www/firefox140/work/build/third_party/abseil-cpp/absl/debugging/failure_signal_handler_gn'
 /ipdl/_ipdlheaders 
 -I/tmp/pkgsrc_work/www/firefox140/work/build/third_party/abseil-cpp/gen 
 -I/tmp/pkgsrc_work/www/firefox140/work/firefox-140.6.0/ipc/chromium/src 
 -I/tmp/pkgsrc_work/www/firefox140/work/firefox-140.6.0/third_party/abseil-cpp 
 -I/tmp/pkgsrc_work/www/firefox140/work/firefox-140.6.0/tools/profiler/public 
 -I/tmp/pkgsrc_work/www/firefox140/work/build/dist/include 
 -DMOZILLA_CLIENT -include 
 /tmp/pkgsrc_work/www/firefox140/work/build/mozilla-config.h 
 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr 
 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/glib-2.0 
 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include 
 -I/usr/pkg/include/ffmpeg7 -I/usr/pkg/include/freetype2 
 -I/usr/pkg/include/harfbuzz -fno-rtti -pthread -fno-sized-deallocation 
 -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno 
 -fno-exceptions -pipe -fPIC -O2 -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -msse2 
 -D__LOCALE_C_ONLY -I/usr/pkg/include -I/usr/include 
 -I/usr/pkg/include/nspr -I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/glib-2.0 
 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include 
 -I/usr/pkg/include/ffmpeg7 -I/usr/pkg/include/freetype2 
 -I/usr/pkg/include/harfbuzz -O2 -fomit-frame-pointer -funwind-tables 
 -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare 
 -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wcomma-subscript 
 -Wvolatile -Wno-deprecated-enum-enum-conversion -Wduplicated-cond 
 -Wimplicit-fallthrough -Wlogical-op -Wno-error=maybe-uninitialized 
 -Wno-error=deprecated-declarations -Wno-error=array-bounds 
 -Wno-error=free-nonheap-object -Wno-multistatement-macros 
 -Wno-error=class-memaccess -Wformat -Wformat-overflow=2 -Wno-psabi 
 -Wno-error=builtin-macro-redefined -fno-strict-aliasing 
 -ffp-contract=off  -MD -MP -MF 
 .deps/Unified_cpp_ebugging_internal_gn0.o.pp   
 Unified_cpp_ebugging_internal_gn0.cpp
 In file included from Unified_cpp_ebugging_internal_gn0.cpp:11:
 /tmp/pkgsrc_work/www/firefox140/work/firefox-140.6.0/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc: 
 In member function 'void 
 absl::debugging_internal::ElfMemImage::SymbolIterator::Update(uint32_t)':
 /tmp/pkgsrc_work/www/firefox140/work/firefox-140.6.0/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc:385:45: 
 error: request for member 'vs_vers' in '* version_symbol', which is of 
 non-class type 'const Elf64_Versym' {aka 'const short unsigned int'}
    385 |   const int version_index = version_symbol->vs_vers & 
 VERSYM_VERSION;
        |                                             ^~~~~~~
 
 I haven't bisected/analyzed/anything else, just noting this here.
 
 Dave
 


Home | Main Index | Thread Index | Old Index