Package: gcc-xtensa-lx106
Version: 10.2.1-3+8
Severity: normal
X-Debbugs-Cc: kei...@keithp.com

It seems that libgcc built for this toolchain is missing the soft float
emulation functions?

This program fails to link:

cat > test.c << EOF
#include <string.h>
#include <stdio.h>
#include <math.h>

int main(void)
{
        char foo[50];
        double q;
        strcpy(foo, "3.1415");
        sscanf(foo, "%lf", &q);
        return (int) (sin(q) * 100);
}
EOF
xtensa-lx106-elf-gcc --specs=picolibc.specs test.c -lm





-- System Information:
Debian Release: bullseye/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64, i386

Kernel: Linux 5.10.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gcc-xtensa-lx106 depends on:
ii  binutils-xtensa-lx106  2.35.1-7+3+b1
ii  libc6                  2.31-9
ii  libgcc-s1              10.2.1-6
ii  libgmp10               2:6.2.1+dfsg-1
ii  libmpc3                1.2.0-1
ii  libmpfr6               4.1.0-3
ii  libstdc++6             10.2.1-6
ii  zlib1g                 1:1.2.11.dfsg-2

gcc-xtensa-lx106 recommends no packages.

gcc-xtensa-lx106 suggests no packages.

-- no debconf information

Reply via email to