On 13/02/16 11:55, Andrew Cagney wrote:
> FYI,
> 
> I've attached a simpler Kconfig and makefile.  However,
> 
> On 15 December 2015 at 00:32, Greg Ungerer <g...@uclinux.org> wrote:
>> Hi Andrew,
>>
>> On 15/12/15 02:11, Andrew Cagney wrote:
>>> On 13 December 2015 at 20:35, Greg Ungerer <g...@uclinux.org> wrote:
>>>> On 12/12/15 03:03, Andrew Cagney wrote:
>>>>> I came up with the attached.  The existing libgmp configuration in
>>>>> lib/Kconfig would need removing.
>>>>
>>>> Just a heads up... But some other targets in the tree that
>>>> currently have libgmp enabled no longer compile with this
>>>> in place.
>>>>
>>>> For example building an ARM target fails at:
>>>>
>>>> ...
>>>> Executing: /bin/sh -c 'ucfront-gcc' 'arm-linux-gnueabi-20150104-gcc' 
>>>> '-std=gnu99' '-DHAVE_CONFIG_H' '-I.' '-D__GMP_WITHIN_GMP' '-O1' '-pipe' 
>>>> '-fno-common' '-fno-builtin' '-Wall' '-Dlinux' '-D__linux__' '-Dunix' 
>>>> '-DEMBED' '-c' 'tal-reent.c' '-fPIC' '-o' 'tal-reent.o'
>>>> Executing: touch tal-reent.lo
>>>> make[5]: *** No rule to make target `mpn/add_n.lo', needed by `libgmp.la'. 
>>>>  Stop.
>>>> make[5]: Leaving directory 
>>>> `/home/gerg/uclinux-dist.foo/lib/libgmp/build/gmp-6.1.0'
>>>> make[4]: *** [all-recursive] Error 1
>>>
>>> What happens if you point the URL at 5.x series, for instance:
>>> https://gmplib.org/download/gmp/gmp-5.1.3.tar.xz
>>
>> Same result. Fails to build with same error.
> 
> 
> I've had no luck with this.  Hmm, perhaps my build works because I'm
> using the C file:
> 
>     gmp-6.1.0/mpn/add_n.c -> ../mpn/generic/add_n.c
> 
> but arm would be trying to build the assembler instead.

So you didn't try to build for any other architecture?

Regards
Greg


>>> This thread:
>>>    http://stackoverflow.com/a/16726435/1357163
>>> lead me to this patch:
>>>    https://gmplib.org/repo/gmp-5.1/rev/2347fd4901ad
>>> which I don't seem to be able to find in 6.x's ChangeLog.
>>
>> The problem doesn't appear to be ARM specific. I tried a compile
>> of an x86_64 target and it failed in a similar way:
>>
>>  make[5]: *** No rule to make target `mpn/invert_limb_table.lo', needed by 
>> `libgmp.la'.  Stop.
>>
>> Regards
>> Greg
>>
>>
>>> (and of course, just my luck that --disable-assembly was only added in 6.x)
>>>
>>>
>>> _______________________________________________
>>> uClinux-dev mailing list
>>> uClinux-dev@uclinux.org
>>> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>>> This message was resent by uclinux-dev@uclinux.org
>>> To unsubscribe see:
>>> http://mailman.uclinux.org/mailman/options/uclinux-dev

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to