Package: libklibc-dev
Version: 2.0.4-9
Severity: important

(sid-amd64)tglase@tglase:~ $ cat x.c
#include <stdlib.h>
typedef struct BW BW;
double calc(BW *bw, unsigned char *s);
int foo(void) {
        return (calc(NULL, NULL) == 1.0);
}
(sid-amd64)tglase@tglase:~ $ klcc -c x.c
x.c: In function ‘foo’:
x.c:5:10: error: SSE register return with SSE disabled
  return (calc(NULL, NULL) == 1.0);
          ^~~~~~~~~~~~~~~~

As this used to work, my guess is that GCC recently defaults
to -mfpmath=sse (IIRC), and klcc needs to manually disable that.

-- System Information:
Debian Release: stretch/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages libklibc-dev depends on:
ii  libklibc        2.0.4-9
ii  linux-libc-dev  4.8.5-1

libklibc-dev recommends no packages.

libklibc-dev suggests no packages.

-- no debconf information

Reply via email to