Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] ARC/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316 compile failure
@ 2014-03-20 22:56 Peter Seiderer
  2014-03-21  4:16 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2014-03-20 22:56 UTC (permalink / raw)
  To: buildroot

Hello,

with latest buildroot from git I get the following uclib compile failure.

Buildroot defconfig:

BR2_arceb=y

Build log:
...
  CC libc/sysdeps/linux/common/getpgid.os
  CC libc/sysdeps/linux/common/modify_ldt.os
  CC libc/sysdeps/linux/common/posix_fadvise.os
libc/sysdeps/linux/common/posix_fadvise.c:26:29: error: unknown type name 'off64_t'
 int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
                             ^
libc/sysdeps/linux/common/posix_fadvise.c:26:45: error: unknown type name 'off64_t'
 int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
                                             ^
libc/sysdeps/linux/common/posix_fadvise.c: In function 'posix_fadvise':
libc/sysdeps/linux/common/posix_fadvise.c:32:2: warning: implicit declaration of function 'posix_fadvise64' [-Wimplicit-function-declaration]
  return posix_fadvise64(fd, offset, len, advice);
  ^
make[2]: *** [libc/sysdeps/linux/common/posix_fadvise.os] Error 1
make[1]: *** [/home/seiderer/Work/zeiss/freescale-imx6/build_arc/build/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316/.stamp_built] Error 2
make: *** [_all] Error 2

Peter

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] ARC/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316 compile failure
  2014-03-20 22:56 [Buildroot] ARC/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316 compile failure Peter Seiderer
@ 2014-03-21  4:16 ` Baruch Siach
  2014-03-21 19:42   ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2014-03-21  4:16 UTC (permalink / raw)
  To: buildroot

Hi Peter,

On Thu, Mar 20, 2014 at 11:56:38PM +0100, Peter Seiderer wrote:
> with latest buildroot from git I get the following uclib compile failure.
> 
> Buildroot defconfig:
> 
> BR2_arceb=y
> 
> Build log:
> ...
>   CC libc/sysdeps/linux/common/getpgid.os
>   CC libc/sysdeps/linux/common/modify_ldt.os
>   CC libc/sysdeps/linux/common/posix_fadvise.os
> libc/sysdeps/linux/common/posix_fadvise.c:26:29: error: unknown type name 'off64_t'
>  int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
>                              ^
> libc/sysdeps/linux/common/posix_fadvise.c:26:45: error: unknown type name 'off64_t'
>  int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
>                                              ^
> libc/sysdeps/linux/common/posix_fadvise.c: In function 'posix_fadvise':
> libc/sysdeps/linux/common/posix_fadvise.c:32:2: warning: implicit declaration of function 'posix_fadvise64' [-Wimplicit-function-declaration]
>   return posix_fadvise64(fd, offset, len, advice);
>   ^
> make[2]: *** [libc/sysdeps/linux/common/posix_fadvise.os] Error 1
> make[1]: *** [/home/seiderer/Work/zeiss/freescale-imx6/build_arc/build/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316/.stamp_built] Error 2
> make: *** [_all] Error 2

Do you have LFS support disabled? If so this is a known issue. You may try the 
patch at http://thread.gmane.org/gmane.comp.lib.uclibc.general/23714 .

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] ARC/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316 compile failure
  2014-03-21  4:16 ` Baruch Siach
@ 2014-03-21 19:42   ` Peter Seiderer
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Seiderer @ 2014-03-21 19:42 UTC (permalink / raw)
  To: buildroot

Hello Baruch,

> Gesendet: Freitag, 21. M?rz 2014 um 05:16 Uhr
> Von: "Baruch Siach" <baruch@tkos.co.il>
> An: "Peter Seiderer" <ps.report@gmx.net>
> Cc: buildroot at busybox.net
> Betreff: Re: [Buildroot] ARC/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316 compile failure
>
> Hi Peter,
> 
> On Thu, Mar 20, 2014 at 11:56:38PM +0100, Peter Seiderer wrote:
> > with latest buildroot from git I get the following uclib compile failure.
> > 
> > Buildroot defconfig:
> > 
> > BR2_arceb=y
> > 
> > Build log:
> > ...
> >   CC libc/sysdeps/linux/common/getpgid.os
> >   CC libc/sysdeps/linux/common/modify_ldt.os
> >   CC libc/sysdeps/linux/common/posix_fadvise.os
> > libc/sysdeps/linux/common/posix_fadvise.c:26:29: error: unknown type name 'off64_t'
> >  int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
> >                              ^
> > libc/sysdeps/linux/common/posix_fadvise.c:26:45: error: unknown type name 'off64_t'
> >  int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
> >                                              ^
> > libc/sysdeps/linux/common/posix_fadvise.c: In function 'posix_fadvise':
> > libc/sysdeps/linux/common/posix_fadvise.c:32:2: warning: implicit declaration of function 'posix_fadvise64' [-Wimplicit-function-declaration]
> >   return posix_fadvise64(fd, offset, len, advice);
> >   ^
> > make[2]: *** [libc/sysdeps/linux/common/posix_fadvise.os] Error 1
> > make[1]: *** [/home/seiderer/Work/zeiss/freescale-imx6/build_arc/build/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316/.stamp_built] Error 2
> > make: *** [_all] Error 2
> 
> Do you have LFS support disabled? If so this is a known issue. You may try the 
> patch at http://thread.gmane.org/gmane.comp.lib.uclibc.general/23714 .
> 

Thank you very much for the suggested patch, fixed the compile for me, will send
a patch for buildroot soon...

Peter

> baruch
> 
> -- 
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-21 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 22:56 [Buildroot] ARC/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316 compile failure Peter Seiderer
2014-03-21  4:16 ` Baruch Siach
2014-03-21 19:42   ` Peter Seiderer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox