arm-unknown-linux-uclibcgnueabi fails on linux amd64 host

View: New views
3 Messages — Rating Filter:   Alert me  

arm-unknown-linux-uclibcgnueabi fails on linux amd64 host

by Bugzilla from olivier.perron12@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

I'm trying to build the arm-unknown-linux-uclibcgnueabi cross compiler
with crosstool-ng 1.5.
I have just taken the sample configuration and the build is successull
on a 32bits linux host.
However, on a 64bits linux host, the build fails like this:

[ALL  ]      LN include/sys/io.h
[ALL  ]      LN include/sys/procfs.h
[ALL  ]      LN include/sys/ucontext.h
[ALL  ]      LN include/sys/user.h
[ALL  ]    make[1]: Leaving directory
`/data/share/crosstool/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
[EXTRA]    Installing headers
[DEBUG]    ==> Executing: 'make CROSS=
PREFIX=/data/share/x-tools/arm-unknown-linux-uclibcgnueabi/arm-unknown-linux-uclibcgnueabi//sys-root/
install_headers'
[ALL  ]    make[1]: Entering directory
`/data/share/crosstool/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
[ALL  ]      HOSTCC extra/scripts/unifdef
[ERROR]    extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
[ALL  ]    /usr/include/stdio.h:651: note: previous declaration of
'getline' was here
[ERROR]    make[1]: *** [extra/scripts/unifdef] Error 1
[ALL  ]    make[1]: Leaving directory
`/data/share/crosstool/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
[ERROR]    Build failed in step 'Installing C library headers'
[ERROR]    Error happened in
'/usr/local/crosstool-ng-1.5.1/lib/ct-ng-1.5.1/scripts/functions' in
function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/usr/local/crosstool-ng-1.5.1/lib/ct-ng-1.5.1/scripts/build/libc/uClibc.sh'
at line # 88 in function 'do_libc_headers'
[ERROR]          called from
'/usr/local/crosstool-ng-1.5.1/lib/ct-ng-1.5.1/scripts/crosstool-NG.sh'
at line # 544 in function 'main'
[ERROR]    Look at
'/data/share/x-tools/arm-unknown-linux-uclibcgnueabi/build.log' for
more info on this error.
[ERROR]  (elapsed: 6:56.50)



So I suspect there is something wrong with the config of my 64bits
host, but what ?
I'd appreciate any hint on what I should look for !

Thanks for your help

Olivier

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Re: arm-unknown-linux-uclibcgnueabi fails on linux amd64 host

by Yann E. MORIN :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Olivier!
Hello All!

On Wednesday 04 November 2009 10:43:41 Olivier Perron wrote:

> I'm trying to build the arm-unknown-linux-uclibcgnueabi cross compiler
> with crosstool-ng 1.5.
> I have just taken the sample configuration and the build is successull
> on a 32bits linux host.
> However, on a 64bits linux host, the build fails like this:
>
> [ALL  ]      LN include/sys/io.h
> [ALL  ]      LN include/sys/procfs.h
> [ALL  ]      LN include/sys/ucontext.h
> [ALL  ]      LN include/sys/user.h
> [ALL  ]    make[1]: Leaving directory
> `/data/share/crosstool/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
> [EXTRA]    Installing headers
> [DEBUG]    ==> Executing: 'make CROSS=
> PREFIX=/data/share/x-tools/arm-unknown-linux-uclibcgnueabi/arm-unknown-linux-uclibcgnueabi//sys-root/
> install_headers'
> [ALL  ]    make[1]: Entering directory
> `/data/share/crosstool/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
> [ALL  ]      HOSTCC extra/scripts/unifdef
> [ERROR]    extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
> [ALL  ]    /usr/include/stdio.h:651: note: previous declaration of
> 'getline' was here

Sounds like the issue reported there :
http://sourceware.org/ml/crossgcc/2009-10/msg00066.html

Regards,
Yann E. MORIN.

--
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Re: arm-unknown-linux-uclibcgnueabi fails on linux amd64 host

by Bugzilla from olivier.perron12@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Yann & all,

Yes that's it.
Sorry for having asked before looking into the archives, I should have
find the answer easily.

Anyway, many thanks for your quick help.

Regards
Olivier

On Wed, Nov 4, 2009 at 11:36 AM, Yann E. MORIN
<yann.morin.1998@...> wrote:

> Hello Olivier!
> Hello All!
>
>
> Sounds like the issue reported there :
> http://sourceware.org/ml/crossgcc/2009-10/msg00066.html
>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> `------------------------------^-------^------------------^--------------------'
>
>
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq