Source: simgrid
Version: 3.12-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Automated builds of simgrid generally failed:

  ERRORCould not figure the stack direction.
  -- LTO seems usable.
  -- Add CFLAGS: "-g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -O3" to CMAKE_C_FLAGS
  [...]
  /«PKGBUILDDIR»/src/simix/smx_context.c:142:16: error: 'PTH_STACKGROWTH' 
undeclared (first use in this function)

It's not entirely clear from the public logs what went wrong, but I
suspect CMake may have tried to build prog_stackgrowth.c with -O3,
which turns on -finline-functions, breaking the test.  The fallback
logic didn't help even on the limited set of processor types it tried
to cover because CMAKE_SYSTEM_PROCESSOR corresponds to the output of
uname -p (typically "unknown" on Debian) rather than uname -m.

Could you please take a look?

Thanks!

Reply via email to