Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] 2011.11 zlib headers problem?
@ 2011-12-02 11:34 Will Moore
  2011-12-02 12:15 ` Will Moore
  0 siblings, 1 reply; 7+ messages in thread
From: Will Moore @ 2011-12-02 11:34 UTC (permalink / raw)
  To: buildroot

In 2011.08 using internal uclibc toolchain, zlib headers zlib.h and zconf.h were
put in the output/host/usr/i486-unknown-linux-uclibc/sysroot/usr/include
directory.

In 2011.11 using buildroot built crosstool-ng glibc toolchain, the zlib headers
are no longer in the
output/host/usr/i486-unknown-linux-uclibc/sysroot/usr/include directory.  I can
see them in the zlib build directory.

I have started a 2011.11 internal uclibc toolchain build to narrow down the
variables somewhat having clearly changed too many things at once...

Other than the obvious gentargets call (infrastructure related) change in
zlib.mk I can't see a difference in the zlib package files between 2011.08 /
2011.11.

I appreciate I can just copy the missing headers across but isn't something
going wrong here?


Will

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

* [Buildroot] 2011.11 zlib headers problem?
  2011-12-02 11:34 [Buildroot] 2011.11 zlib headers problem? Will Moore
@ 2011-12-02 12:15 ` Will Moore
  2011-12-02 12:17   ` Thomas Petazzoni
  2011-12-02 14:59   ` Peter Korsgaard
  0 siblings, 2 replies; 7+ messages in thread
From: Will Moore @ 2011-12-02 12:15 UTC (permalink / raw)
  To: buildroot



> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] On
> Behalf Of Will Moore
> Sent: 02 December 2011 11:35
> 
> In 2011.08 using internal uclibc toolchain, zlib headers zlib.h and zconf.h
> were
> put in the output/host/usr/i486-unknown-linux-uclibc/sysroot/usr/include
> directory.
> 
> In 2011.11 using buildroot built crosstool-ng glibc toolchain, the zlib
> headers
> are no longer in the
> output/host/usr/i486-unknown-linux-uclibc/sysroot/usr/include directory.  I
> can
> see them in the zlib build directory.
> 
> I have started a 2011.11 internal uclibc toolchain build to narrow down the
> variables somewhat having clearly changed too many things at once...

2011.11 using internal uclibc toolchain puts zlib headers in
output/host/usr/i486-unknown-linux-uclibc/sysroot/usr/include directory OK.

So this is a internet / crosstool-NG toolchain thing and not a 2011.08 / 2011.11
thing?

> 
> Other than the obvious gentargets call (infrastructure related) change in
> zlib.mk I can't see a difference in the zlib package files between 2011.08 /
> 2011.11.
> 
> I appreciate I can just copy the missing headers across but isn't something
> going wrong here?
> 
> 
> Will
> 
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] 2011.11 zlib headers problem?
  2011-12-02 12:15 ` Will Moore
@ 2011-12-02 12:17   ` Thomas Petazzoni
  2011-12-02 13:50     ` Will Moore
  2011-12-02 14:59   ` Peter Korsgaard
  1 sibling, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2011-12-02 12:17 UTC (permalink / raw)
  To: buildroot

Le Fri, 2 Dec 2011 12:15:08 -0000,
"Will Moore" <will.moore@beraninstruments.com> a ?crit :

> So this is a internet / crosstool-NG toolchain thing and not a 2011.08 / 2011.11
> thing?

Can you post the Buildroot .config you use to reproduce the problem?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] 2011.11 zlib headers problem?
  2011-12-02 12:17   ` Thomas Petazzoni
@ 2011-12-02 13:50     ` Will Moore
  2011-12-02 14:58       ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Will Moore @ 2011-12-02 13:50 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] On
> Behalf Of Thomas Petazzoni
> Sent: 02 December 2011 12:17
> To: buildroot at busybox.net
> Subject: Re: [Buildroot] 2011.11 zlib headers problem?
> 
> Le Fri, 2 Dec 2011 12:15:08 -0000,
> "Will Moore" <will.moore@beraninstruments.com> a ?crit :
> 
> > So this is a internet / crosstool-NG toolchain thing and not a 2011.08 /
> 2011.11
> > thing?
> 
> Can you post the Buildroot .config you use to reproduce the problem?

See attached.

> 
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot.config
Type: application/octet-stream
Size: 20540 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111202/f627fcc0/attachment.obj>

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

* [Buildroot] 2011.11 zlib headers problem?
  2011-12-02 13:50     ` Will Moore
@ 2011-12-02 14:58       ` Thomas Petazzoni
  2011-12-02 15:21         ` Will Moore
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2011-12-02 14:58 UTC (permalink / raw)
  To: buildroot

Le Fri, 2 Dec 2011 13:50:28 -0000,
"Will Moore" <will.moore@beraninstruments.com> a ?crit :

> > Can you post the Buildroot .config you use to reproduce the problem?
> 
> See attached.

Interestingly, here, the build fails when building gdbhost:

configure: creating ./config.status
config.status: creating Makefile
./config.status: line 1123: gawk: command not found
config.status: creating testsuite/Makefile
./config.status: line 1123: gawk: command not found
config.status: creating config.h
./config.status: line 1149: gawk: command not found
config.status: error: could not create config.h
make[3]: *** [configure-libiberty] Error 1
make[2]: *** [all] Error 2
make[1]: *** [/home/test/outputs/will/toolchain/gdbhost-7.3.1/gdb/gdb]
Error 2

(Note: gawk is not available on my build machine, but has been built as
a dependency of ct-ng. I guess the gdbhost build process misses
$(HOST_DIR)/usr/bin in its PATH).

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] 2011.11 zlib headers problem?
  2011-12-02 12:15 ` Will Moore
  2011-12-02 12:17   ` Thomas Petazzoni
@ 2011-12-02 14:59   ` Peter Korsgaard
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2011-12-02 14:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Will" == Will Moore <will.moore@beraninstruments.com> writes:

Hi,

 Will> So this is a internet / crosstool-NG toolchain thing and not a
 Will> 2011.08 / 2011.11 thing?

Must be. I do zlib/internal toolchain based builds almost daily without
problems.

ls output/staging/usr/include/z*
output/staging/usr/include/zconf.h  output/staging/usr/include/zlib.h

-- 
Bye, Peter Korsgaard

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

* [Buildroot] 2011.11 zlib headers problem?
  2011-12-02 14:58       ` Thomas Petazzoni
@ 2011-12-02 15:21         ` Will Moore
  0 siblings, 0 replies; 7+ messages in thread
From: Will Moore @ 2011-12-02 15:21 UTC (permalink / raw)
  To: buildroot

> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] On
> Behalf Of Thomas Petazzoni
> Sent: 02 December 2011 14:58
> 
> Le Fri, 2 Dec 2011 13:50:28 -0000,
> "Will Moore" <will.moore@beraninstruments.com> a ?crit :
> 
> > > Can you post the Buildroot .config you use to reproduce the problem?
> >
> > See attached.
> 
> Interestingly, here, the build fails when building gdbhost:
> 
> configure: creating ./config.status
> config.status: creating Makefile
> ./config.status: line 1123: gawk: command not found
> config.status: creating testsuite/Makefile
> ./config.status: line 1123: gawk: command not found
> config.status: creating config.h
> ./config.status: line 1149: gawk: command not found
> config.status: error: could not create config.h
> make[3]: *** [configure-libiberty] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [/home/test/outputs/will/toolchain/gdbhost-7.3.1/gdb/gdb]
> Error 2
> 
> (Note: gawk is not available on my build machine, but has been built as
> a dependency of ct-ng. I guess the gdbhost build process misses
> $(HOST_DIR)/usr/bin in its PATH).

Thanks for trying that.

Builds for me ;) but then I have gawk installed on my host regardless of the
gawk built as a dependency of ct-ng.

> 
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

end of thread, other threads:[~2011-12-02 15:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02 11:34 [Buildroot] 2011.11 zlib headers problem? Will Moore
2011-12-02 12:15 ` Will Moore
2011-12-02 12:17   ` Thomas Petazzoni
2011-12-02 13:50     ` Will Moore
2011-12-02 14:58       ` Thomas Petazzoni
2011-12-02 15:21         ` Will Moore
2011-12-02 14:59   ` Peter Korsgaard

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