Fwd: Problem when use -finline-functions



Sorry : but I don't know where to ask for this trouble.

I need some help.

When compiling a source that has assembler code inserted  using :


__asm__ __volatile__ (

}:

with -finline-functions flag
The compiler says:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2
-I/usr/lib/glib/include -D_REENTRANT -I. -I./common -I./dev -I./data -I./cda
-I./ff -I./amod -I./agen -I./aproc -I./a3d -I./midi -I./db -I./net -I./player
-O3 -ffast-math -fsigned-char -finline-functions -fomit-frame-pointer
-funroll-loops -march=i686 -D__GSOUND_COMPILATION_MODE -c gscpummecaps.c
-fPIC -DPIC -o .libs/gscpummecaps.lo
/tmp/ccwO7oSk.s: Assembler messages:
/tmp/ccwO7oSk.s:337: Error: Symbol TryAMD already defined.
/tmp/ccwO7oSk.s:355: Error: Symbol TryCyrix already defined.
/tmp/ccwO7oSk.s:394: Error: Symbol EMMXSupported already defined.
/tmp/ccwO7oSk.s:403: Error: Symbol AMD already defined.
/tmp/ccwO7oSk.s:433: Error: Symbol ThreeDNowSupported already defined.
/tmp/ccwO7oSk.s:442: Error: Symbol Intel already defined.
/tmp/ccwO7oSk.s:445: Error: Symbol SSEtest already defined.
/tmp/ccwO7oSk.s:461: Error: Symbol MMXtest already defined.
/tmp/ccwO7oSk.s:478: Error: Symbol NotSupported1 already defined.
/tmp/ccwO7oSk.s:484: Error: Symbol NotSupported2 already defined.
/tmp/ccwO7oSk.s:490: Error: Symbol NotSupported3 already defined.
/tmp/ccwO7oSk.s:496: Error: Symbol NotSupported4 already defined.
/tmp/ccwO7oSk.s:502: Error: Symbol NotSupported5 already defined.
/tmp/ccwO7oSk.s:508: Error: Symbol NotSupported6 already defined.
/tmp/ccwO7oSk.s:514: Error: Symbol NotSupported7 already defined.
/tmp/ccwO7oSk.s:523: Error: Symbol Return already defined.



I can switch of the -finline-functions , but it requires a lot of extra work
on my Autotools configuration.

Can I solve it , in any easier way ?


--
=================
Toni Moreno Giménez
=================
Pje de las rosas  nº 22
Vilassar de Mar
(Barcelona) España
CP: 08340
-----------------
Tel:937598149
Tel: 699706656
-----------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]