[oi-dev] error trying to compile gcc47-libgmp
Andrzej Szeszo
aszeszo at gmail.com
Sat Jun 1 15:43:28 UTC 2013
Strange that the build is failing for you. I am pretty sure I built
and re-build gcc4.7 multiple times and it was all fine.
I have borrowed build method from OmniOS. The evil chmod is required
to make gcc use .eh_frame based unwinder which makes C++ exceptions to
actually work without any workarounds. chmod is evil, yes.
https://github.com/omniti-labs/omnios-build/blob/master/build/gcc47/build.sh#L70
Andrzej
On 31 May 2013 20:37, Alexander Pyhalov <alp at rsu.ru> wrote:
> On 05/31/2013 23:31, Alexander Pyhalov wrote:
>>
>> You appear to have set $CFLAGS, perhaps you also need to tell GMP the
>> intended ABI, see "ABI and ISA" in the manual.
>> gmake: ***
>>
>> [/export/home/build/srcs/oi-userland/components/gcc47-libgmp/build/i86/.configured]
>> Error 1
>
>
> One more error:
> pfexec chmod 444 /usr/gnu/i386-pc-solaris2.11/bin/ld
> chmod: WARNING: can't change /usr/gnu/i386-pc-solaris2.11/bin/ld
> gmake: ***
> [/export/home/build/srcs/oi-userland/components/gcc47/build/i86/.configured]
> Error 1
>
> It seems that GCC building intentionally affects the build system...
>
>
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Computer Center of Southern Federal University
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
More information about the oi-dev
mailing list