Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148783 - bash cross-compile dies in configure
Summary: bash cross-compile dies in configure
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-23 07:59 UTC by Daniel Glaser
Modified: 2006-09-24 04:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Glaser 2006-09-23 07:59:30 UTC
Bash seems to break in configure while cross compiling.
It seems that AC_FUNC_SETVBUF_REVERSED is executed but shouldn't with cross-compiling.

If somebody gives me some hint, how to add patches locally (something working like overlays), I would fix this and many others by my own and post it here.
Comment 1 SpanKY gentoo-dev 2006-09-23 20:35:59 UTC
export bash_cv_have_mbstate_t=yes

bash has more fundamental cross-compiling issues (proper signal generation) that upstream is aware of ... if you want to be sane, you need to build bash on the target hardware
Comment 2 SpanKY gentoo-dev 2006-09-23 20:36:18 UTC
and export ac_cv_func_setvbuf_reversed=no
Comment 3 Daniel Glaser 2006-09-24 04:21:01 UTC
But how can I handle it correctly by
ROOT="/somewhat" PORTAGE_CONFIGROOT="/somewhat" emerge bash

If I put it in /somewhat/etc/make.conf everything works fine for cross-compiling it on my machine, but is it the best way to do so?

Compiling it on the target is not possible for production use, because it is a small embedded system with ppc405 and about 32MB Ram.

There are other packages that doesn't compile without interruption and I hope, that this will be as easy as this solution.

But thanks for your reply. 
Comment 4 SpanKY gentoo-dev 2006-09-24 04:27:47 UTC
e-mail the gentoo-embedded mailing list