alsa-lib 1.0.2 -fPIC problem with gcc 3.4

Jan Killius jkillius@arcor.de
Sun Feb 8 13:02:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
there seems to be a problem with the assembler code and -fPIC. My question is,
it is a gcc problem or a code problem. And how we can solve it ?

Here is the error:
pcm_dmix_i386.h: In function `mix_areas1':
pcm_dmix_i386.h:45: error: PIC register `ebx' clobbered in `asm'
pcm_dmix_i386.h: In function `mix_areas1_mmx':
pcm_dmix_i386.h:163: error: PIC register `ebx' clobbered in `asm'
pcm_dmix_i386.h: In function `mix_areas2':
pcm_dmix_i386.h:245: error: PIC register `ebx' clobbered in `asm'
pcm_dmix_i386.h: In function `mix_areas1_smp':
pcm_dmix_i386.h:45: error: PIC register `ebx' clobbered in `asm'
pcm_dmix_i386.h: In function `mix_areas1_smp_mmx':
pcm_dmix_i386.h:163: error: PIC register `ebx' clobbered in `asm'
pcm_dmix_i386.h: In function `mix_areas2_smp':
pcm_dmix_i386.h:245: error: PIC register `ebx' clobbered in `asm'
make[2]: *** [pcm_dmix.lo] Error 1

I have attached the header.

- --
        Jan Killius


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAJjNg6U6IB8YmOOwRAoyqAKCGu2gSnrGTYJiWOab5VrbPE1fqDgCcCKM9
PR3z9vasWsrTfuJx0mcSvzg=
=ucpn
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcm_dmix_i386.h
Type: text/x-chdr
Size: 6708 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20040208/6b56467e/attachment.bin>


More information about the Gcc-help mailing list