Control: forwarded -1 https://github.com/WasmEdge/WasmEdge/issues/2695 Control: tags -1 + patch
On Wed, Jul 26, 2023 at 09:50:12PM +0200, Lucas Nussbaum wrote: > During a rebuild of all packages in sid, your package failed to build > on amd64. > > > Relevant part (hopefully): > > /usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > > -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--export-dynamic -rdynamic > > CMakeFiles/wasmedge.dir/wasmedge.cpp.o -o wasmedge > > -Wl,-rpath,"\$ORIGIN/../../lib/api::::::::::" > > ../../lib/api/libwasmedge.so.0.0.3 > > /usr/lib/x86_64-linux-gnu/libspdlog.so.1.10.0 > > /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 > > /usr/bin/ld: ../../lib/api/libwasmedge.so.0.0.3: undefined reference to > > `WasmEdge::Fault::emitFault(WasmEdge::ErrCode)' > > collect2: error: ld returned 1 exit status Thanks Lucas, that's super helpful! I tracked down the trigger to the gcc-12 -> gcc-13 migration. I think I've tracked down the root cause as well, and reported a one-line fix to the upstream issue above. I'll give upstream a couple of days to validate my assumptions before I make an upload. Regards, Faidon