Problem reapplying patch for the HIXS system
Joel Sherrill
joel.sherrill@oarcorp.com
Tue Dec 7 23:14:00 GMT 2010
On 12/07/2010 02:53 PM, Michael Ambrus wrote:
> That made the trick, thanks a lot Jeff!
>
> Just managed to sucessfully build a complete Canadian cross tool-chain
> for powerpc-hixs-elf. Got some new issues for strlen for arm-hixs-elf:
>
> Making all in arm
> make[1]: Entering directory
> `/home/mambrus/tinker/gnutools/_BUILD/arm-hixs-elf/newlib-1.18.0/arm-hixs-elf/newlib/libc/machine/arm'
> arm-hixs-elf-gcc ... '`strlen.c
> /tmp/ccZkTPzX.s: Assembler messages:
> /tmp/ccZkTPzX.s:22: Error: bad instruction `neg len,len'
> /tmp/ccZkTPzX.s:27: Error: bad instruction `it ne'
> /tmp/ccZkTPzX.s:36: Error: bad instruction `itt eq'
> /tmp/ccZkTPzX.s:41: Error: bad instruction `itttt ne'
> /tmp/ccZkTPzX.s:46: Error: bad instruction `it ne'
> make[1]: *** [lib_a-strlen.o] Error 1
>
Any chance you don't have the as for this target in your PATH?
--joel
> /Michael
>
>
> On Tue, Dec 7, 2010 at 8:48 PM, Jeff Johnston<jjohnstn@redhat.com> wrote:
>> On 12/07/2010 02:39 PM, Michael Ambrus wrote:
>>> Hi,
>>> A few years back I experimented with a system which I called HIXS in
>>> newlib-1.14.0/newlib/libc/sys/. I'm trying to re-apply the patch (which
>>> used to work perfectly) to newlib-1.18.0 but for some reason it won't
>>> build.
>>>
>>> Adding an extra printout in HIXS configure.in:
>>>
>>> AC_MSG_NOTICE([===== Running configure for HIXS<$PACKAGE_NAME> version
>>> <$PACKAGE_VERSION> ====])
>>>
>>> As far as I can see from from the build/configure logs, the configure
>>> script for hixs is never run. A snippet from the build however shows:
>>>
>>>
>>> ==========================================================================================
>>> Making all in sys
>>> make[8]: Entering directory
>>> `/tmp/BO/arm-hixs-elf/newlib-1.18.0/arm-hixs-elf/thumb/newlib/libc/sys'
>>> Making all in hixs
>>> /bin/bash: line 17: cd: hixs: No such file or directory
>>> Making all in .
>>> make[9]: Entering directory
>>> `/tmp/BO/arm-hixs-elf/newlib-1.18.0/arm-hixs-elf/thumb/newlib/libc/sys'
>>> make[9]: *** No rule to make target `hixs/lib.a', needed by `lib.a'.
>>>
>>> ==========================================================================================
>>>
>>> Seems the build-system has got it half-way right. It expects HIXS to be
>>> where it should, but it has not created the directory nor run the the
>>> configure script for it?
>>>
>>> What's happened, has there been there any fundamental changes in the
>>> build-system or am I missing something (forgotten but) obvious?
>>>
>>> Any input/hints much appreciated.
>>>
>>> Regards
>>> Michael Ambrus
>>> http://kato.homelinux.org/~tinker/
>>>
>>>
>> Look at newlib/libc/sys/configure.in. You have to tell it to configure your
>> hixs subdir via the sys_dir variable which you set in newlib's top-level
>> file: configure.host. Remember to run autoconf after you change
>> configure.in.
>>
>>
>>
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the Newlib
mailing list