[oi-dev] gcc 4.7 issue
Alexander Pyhalov
alp at rsu.ru
Sun Aug 4 06:26:27 UTC 2013
Alexander Pyhalov писал 03.08.2013 21:27:
> Hello, all.
>
> I was trying to compile mariadb and got the following error...
> $ /usr/gcc/4.7/bin/gcc
> -I/export/home/build/srcs/oi-userland/components/mariadb-55/build/i86/include
> -I/export/home/build/srcs/oi-userland/components/mariadb-55/mariadb-5.5.32/include
> -I/export/home/build/srcs/oi-userland/components/mariadb-55/mariadb-5.5.32/mysys
> -o my_context.c.o -c
> /export/home/build/srcs/oi-userland/components/mariadb-55/mariadb-5.5.32/mysys/my_context.c
> /var/tmp//ccrTGWnh.s: Assembler messages:
> /var/tmp//ccrTGWnh.s:35: Error: CFI instruction used without previous
> .cfi_startproc
>
> If I use gcc 3.4 I don't receive this error message, so it' seems to
> be gcc 4.7 issue.
> The generated assembler code in gcc 4.7 is the following:
The same error appears if I use illumos-gcc (4.4), at least it's not
specific to our gcc... I'm just going to patch out this code for now -
at least the existing ifdef does it for gcc<4.
---
System Administrator of Southern Federal University Computer Center
More information about the oi-dev
mailing list