Bug 15299

Summary: configure no longer works for cross target
Product: [Retired] Red Hat Linux Reporter: Jimi X <jimix>
Component: findutilsAssignee: Preston Brown <pbrown>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.2CC: jimix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-03 20:36:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jimi X 2000-08-03 20:36:17 UTC
there is a test in configure that will cause configure to fail if cross
compiling.
This is just wrong!!

here is the snip from configure

echo "configure:10957: checking whether setvbuf arguments are reversed"
1>&5
if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
    { echo "configure: error: cannot run test program while cross
compiling" 1>&2; exit 1; }
...

Comment 1 Preston Brown 2001-01-31 22:30:42 UTC
we don't test our RPMs for building in a cross-compiled environment; this is a
rather esoteric, non-common situation.