[MPlayer-dev-eng] [PATCH] compiling with Intel C

Dmitry Antipov dmantipov at yandex.ru
Fri Jan 26 11:55:23 CET 2007


Reimar Doeffinger wrote:
> Hello,
> On Fri, Jan 26, 2007 at 10:39:30AM +0100, Guillaume Poirier wrote:
>> I attached an uppated version of your patch, to reflect the parts that
>> I already applied.
> 
> Can you check if instead of adding the initialization to that one
> variable, using __attribute__((section (".bss"))) instead of
> attribute_used works, too?

It doesn't. Both

static uint64_t __attribute__ ((section (".bss"), aligned(8))) temps[4];

and

static uint64_t __attribute__ ((section (".bss"))) __attribute__((aligned(8))) temps[4];

gives the same

libmpcodecs/libmpcodecs.a(vf_fspp.o): In function `filter':
vf_fspp.c:(.text+0x9c1): undefined reference to `temps'
vf_fspp.c:(.text+0x9cb): undefined reference to `temps'
vf_fspp.c:(.text+0xa2f): undefined reference to `temps'
vf_fspp.c:(.text+0xa67): undefined reference to `temps'
vf_fspp.c:(.text+0xbc2): undefined reference to `temps'
libmpcodecs/libmpcodecs.a(vf_fspp.o):vf_fspp.c:(.text+0xbcc): more undefined references to `temps' follow

Dmitry



More information about the MPlayer-dev-eng mailing list