Bug#626869: gcc-4.6: undefined reference to `_q_add' with -mabi=ieeelongdouble
Package: gcc-4.6
Version: 4.6.0-2
Severity: normal
I get the following error:
ay:~> gcc-4.4 tst.c -o tst -mabi=ieeelongdouble
cc1: warning: Using IEEE extended precision long double
/tmp/cceTQS0o.o: In function `main':
tst.c:(.text+0x84): undefined reference to `_q_add'
collect2: ld returned 1 exit status
zsh: exit 1 gcc-4.4 tst.c -o tst -mabi=ieeelongdouble
tst.c is:
int main (void)
{
volatile long double x = 1, y;
y = x + x;
return 0;
}
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (900, 'stable'), (500, 'oldstable'), (200, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.26-1-powerpc
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages gcc-4.6 depends on:
ii binutils 2.21.0.20110327-3 The GNU assembler, linker and bina
ii cpp-4.6 4.6.0-2 The GNU C preprocessor
ii gcc-4.6-base 4.6.0-2 The GNU Compiler Collection (base
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcloog-ppl0 0.15.9-3 the Chunky Loop Generator (runtime
ii libgcc1 1:4.6.0-2 GCC support library
ii libgmp10 2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii libgmpxx4ldbl 2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii libgomp1 4.6.0-2 GCC OpenMP (GOMP) support library
ii libmpc2 0.9-3 multiple precision complex floatin
ii libmpfr4 3.0.0-9 multiple precision floating-point
ii libppl-c4 0.11.2-3 Parma Polyhedra Library (C interfa
ii libppl9 0.11.2-3 Parma Polyhedra Library (runtime l
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages gcc-4.6 recommends:
ii libc6-dev 2.11.2-7 Embedded GNU C Library: Developmen
Versions of packages gcc-4.6 suggests:
pn binutils-gold <none> (no description available)
pn gcc-4.6-doc <none> (no description available)
pn gcc-4.6-locales <none> (no description available)
pn gcc-4.6-multilib <none> (no description available)
pn libgcc1-dbg <none> (no description available)
pn libgomp1-dbg <none> (no description available)
pn libmudflap0-4.6-dev <none> (no description available)
pn libmudflap0-dbg <none> (no description available)
pn libquadmath-dbg <none> (no description available)
-- no debconf information
Reply to: