[postgis-tickets] [PostGIS] #5400: GHA ci is failing on PG15-clang-geos311-gdal35 C compiler works... no
PostGIS
trac at osgeo.org
Sat Jun 17 10:30:52 PDT 2023
#5400: GHA ci is failing on PG15-clang-geos311-gdal35 C compiler works... no
-------------------------+--------------------------------------
Reporter: robe | Owner: robe
Type: defect | Status: assigned
Priority: blocker | Milestone: Website Management, Bots
Component: management | Version: 3.3.x
Resolution: | Keywords:
-------------------------+--------------------------------------
Comment (by robe):
Confirmed the new one failing is bookworm
{{{
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux"
VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm
ID=debian
}}}
The old one working is bullseye
{{{
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux"
VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye
ID=debian
}}}
However it's not just the LD_LOAD at fault. There are some of these flags
that the new clang doesn't like:
{{{
# Enable undefined behaviour sanitizer using traps
CFLAGS_USAN="-g3 -O0 -mtune=generic -fno-omit-frame-pointer
-fsanitize=undefined,implicit-conversion -fsanitize-undefined-trap-on-
error -fno-sanitize-recover=implicit-conversion"
LDFLAGS_STD="-Wl,-Bsymbolic-functions -Wl,-z,relro"
# Sanitizer options to continue avoid stopping the runs on leaks (expected
on postgres binaries)
export
ASAN_OPTIONS=halt_on_error=false,leak_check_at_exit=false,exitcode=0
export
MSAN_OPTIONS=halt_on_error=false,leak_check_at_exit=false,exitcode=0
./configure CC=clang CFLAGS="${CFLAGS_USAN}" LDFLAGS="${LDFLAGS_STD}"
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5400#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list