Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466712

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__
Date 2016-08-20 01:10 +0200
Message-ID <s815f-3wM-5@gated-at.bofh.it> (permalink)
References (4 earlier) <s7WoV-wW-11@gated-at.bofh.it> <s7XEl-1hT-11@gated-at.bofh.it> <s7ZmN-2og-21@gated-at.bofh.it> <s7Zwu-2rP-13@gated-at.bofh.it> <s7ZPQ-2zI-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Fri, Aug 19, 2016 at 06:42:07PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Fri, Aug 19, 2016 at 02:27:58PM -0700, Vineet Gupta escreveu:
> > On 08/19/2016 02:10 PM, Arnaldo Carvalho de Melo wrote:
> > >> But one question: when you test build, do you have any extra devel
> > >> > packages installed besides what is in this prebuilt toolchain tarball?
> > >> > 
> > >> > I'll add at least zlib and elfutils to the mix, building it in the
> > >> > docker image creation process, and then testing with/without
> > >> > NO_LIBELF=1, as I do to other cross-building images:
> > > Trying to build elfutils 0.166:
> > >
> > > checking whether gcc accepts -Wduplicated-cond... no
> > > checking whether gcc accepts -Wnull-dereference... no
> > > configure: WARNING: "libc does not have argp"
> > > checking for argp_parse in -largp... no
> > > configure: error: "no libargp found"
> > >
> > > ----
> > >
> > > will go errands now, will try to check what is needed to build elfutils
> > > with uclibc, ideas?
> > 
> > So back in 3.2 days I ran into these issues with elfutils - the workaround was to
> > use the standalone libelf
> > http://www.mr511.de/software/libelf-0.8.9.tar.gz.
> 
> Ok, so I'll git it a try with libelf, lets see...

Argh, give up, now it is refusing to build shared libraries:

  checking for native ELF system... no
  configure: warning: shared libraries not supported for arc-snps-linux-uclibc

And also it says ELF64 isn't support and thus GElf, some more details,
anyway.
  
> > Not sure if you will be willing to take that path.
> > 
> > OTOH, you could use standalone argp @ http://www.lysator.liu.se/~nisse/archive but
> > it seems that requires a bunch of patches too - from looking into the

> > corresponding buildroot package folder. Give this a shot - otherwise it is easier
> > to just build a custom toolchain with pre-req packages from buildroot. Or can be
> > provided if you so deem fit !

Please, if you do that, then I'll be able to test more stuff, I already
had enough fun trying to get elfutils, argp-standalone and libelf built
on this env :-\

- Arnaldo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__ Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-08-17 22:10 +0200
  Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-08-18 16:20 +0200
    Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-08-18 18:30 +0200
    [PATCH v2] tools lib: Reinstate strlcpy() header guard with __UCLIBC__ Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-08-19 04:00 +0200
    Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-08-19 04:50 +0200
      Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-08-19 16:30 +0200
        Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-08-19 20:10 +0200
          Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-08-19 21:30 +0200
            Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-08-19 22:20 +0200
            Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-08-19 23:20 +0200
              Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-08-19 23:30 +0200
                Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-08-19 23:50 +0200
                Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-08-20 01:10 +0200
                Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2016-08-22 20:10 +0200
                Re: [PATCH] tools lib: Reinstate strlcpy() header guard with  __UCLIBC__ Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-08-22 20:10 +0200

csiph-web