Bug#389256: FTBFS with -O3: assembler symbols redefined

Martin Michlmayr tbm at cyrius.com
Sun Sep 24 18:53:10 UTC 2006


Package: sdlgfx
Version: 2.0.13-2

When you compile SDL_imageFilter.c with -O3 it fails because some assembler
symbols are defined.  This is because your sources define them but so does
the compiler at -O3.  According to the GCC people this is allowed, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29204 in which Andrew Pinski
writes "This is not a bug as asms can be duplicated even if they are
volatile.  The way to fix this is to use .1 and 1f lables."

Note that this is not a concrete problem in Debian since it's compiled at
-O2 but it would be nice if this could be fixed upstream.


> (sid)52:tbm at chico: ~/src/sdlgfx-2.0.13] gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DBUILD_DLL -I. -I. -g -O2 -DUSE_MMX -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT SDL_imageFilter.lo -MD -MP -MF .deps/SDL_imageFilter.Tpo -c SDL_imageFilter.c -o SDL_imageFilter.o
> (sid)53:tbm at chico: ~/src/sdlgfx-2.0.13] gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DBUILD_DLL -I. -I. -g -O3 -DUSE_MMX -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT SDL_imageFilter.lo -MD -MP -MF .deps/SDL_imageFilter.Tpo -c SDL_imageFilter.c -o SDL_imageFilter.o
> SDL_imageFilter.s: Assembler messages:
> SDL_imageFilter.s:3873: Error: symbol `.L10311' is already defined
> SDL_imageFilter.s:3875: Error: symbol `.L10312' is already defined
> SDL_imageFilter.s:3902: Error: symbol `.L1031' is already defined
> SDL_imageFilter.s:4123: Error: symbol `.L1030' is already defined
> SDL_imageFilter.s:4300: Error: symbol `.L21011' is already defined
> SDL_imageFilter.s:4519: Error: symbol `.L1026' is already defined
> SDL_imageFilter.s:4712: Error: symbol `.L10270' is already defined
> SDL_imageFilter.s:4722: Error: symbol `.L10271' is already defined
> SDL_imageFilter.s:4993: Error: symbol `.L11023' is already defined
> SDL_imageFilter.s:5181: Error: symbol `.L1022' is already defined
> SDL_imageFilter.s:5457: Error: symbol `.L11024' is already defined
> SDL_imageFilter.s:5642: Error: symbol `.L10240' is already defined
> SDL_imageFilter.s:5652: Error: symbol `.L10241' is already defined
> SDL_imageFilter.s:5837: Error: symbol `.L13023' is already defined
> SDL_imageFilter.s:6019: Error: symbol `.L10250' is already defined
> SDL_imageFilter.s:6034: Error: symbol `.L10251' is already defined
> SDL_imageFilter.s:6055: Error: symbol `.L10252' is already defined
> SDL_imageFilter.s:6232: Error: symbol `.L1029' is already defined
> SDL_imageFilter.s:6403: Error: symbol `.L1010' is already defined
> SDL_imageFilter.s:6579: Error: symbol `.L1012' is already defined
> SDL_imageFilter.s:6754: Error: symbol `.L1013' is already defined
> SDL_imageFilter.s:6943: Error: symbol `.L1021' is already defined
> SDL_imageFilter.s:7127: Error: symbol `.L1023' is already defined
> SDL_imageFilter.s:7312: Error: symbol `.L12023' is already defined
> SDL_imageFilter.s:7505: Error: symbol `.L10280' is already defined
> SDL_imageFilter.s:7520: Error: symbol `.L10281' is already defined
> SDL_imageFilter.s:7541: Error: symbol `.L10282' is already defined
> SDL_imageFilter.s:7702: Error: symbol `.L1014' is already defined
> SDL_imageFilter.s:7808: Error: symbol `.L10141' is already defined
> SDL_imageFilter.s:7811: Error: symbol `.L10142' is already defined
> SDL_imageFilter.s:8018: Error: symbol `.L1015' is already defined
> SDL_imageFilter.s:8207: Error: symbol `.L1016' is already defined
> SDL_imageFilter.s:8357: Error: symbol `.L1017' is already defined
> SDL_imageFilter.s:8528: Error: symbol `.L91017' is already defined
> SDL_imageFilter.s:8613: Error: symbol `.L10191' is already defined
> SDL_imageFilter.s:8619: Error: symbol `.L10192' is already defined
> SDL_imageFilter.s:8624: Error: symbol `.L10193' is already defined
> SDL_imageFilter.s:8764: Error: symbol `.L91117' is already defined
> zsh: exit 1     gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
>  (sid)54:tbm at chico: ~/src/sdlgfx-2.0.13]

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Pkg-sdl-maintainers mailing list