Package: musl-tools
Version: 1.2.3-1
Severity: serious
Justification: unusable on release architectures
X-Debbugs-Cc: t...@mirbsd.de, debian-...@lists.debian.org
Control: affects -1 src:mksh

Unsure if it’s musl or gcc-13_13.2.0-2 but building a simple
test program fails on both mips64el and mipsel:

$ musl-gcc […] -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static  conftest.c
mipsel-linux-gnu-gcc: error: unrecognized command-line option '-EL'

If doing 'gcc -v' (normal gcc, not musl-gcc wrapper) the -EL shows up in:

COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' 
'-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' 
'-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 
'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 
'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 
'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-march=mips32r2' '-mfpxx' '-mllsc' 
'-mno-lxc1-sxc1' '-mno-madd4' '-mips32r2' '-EL' '-mabi=32' '-dumpdir' 'a-'

musl-gcc uses mipsel-linux-gnu-gcc (or mips64el-linux-gnuabi64-gcc)
instead of gcc, but it’s still Debian 13.2.0-2 according to --version.

Reply via email to