Bug 197 - [PATCH] cross compile fixes
[PATCH] cross compile fixes
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Configure
1.6.8
PC Linux
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-01 18:43 MST by Devin Bayer
Modified: 2010-08-02 15:32 MDT (History)
0 users

See Also:


Attachments
Fixes cross compiling issues (326.92 KB, patch)
2005-11-01 18:44 MST, Devin Bayer
Details | Diff
Cross compile fixes only (no autoconf 2.57-2.59 changes) (1.69 KB, patch)
2005-11-02 12:42 MST, Devin Bayer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Bayer 2005-11-01 18:43:58 MST
xcf
Comment 1 Devin Bayer 2005-11-01 18:44:41 MST
Created attachment 40 [details]
Fixes cross compiling issues
Comment 2 Todd C. Miller 2005-11-02 08:57:22 MST
Already fixed in the cvs tree for sudo 1.7 (which uses autoconf 2.59)
Comment 3 Devin Bayer 2005-11-02 12:39:59 MST
I'm sorry - I guess my patch would be unclear without explaining what was wrong.
 Sudo doesn't cross compile.  Try it yourself.  The configure script will always
say it cannot run test programs, which of course it can't when cross compiling.
 You need to allow defaults for test programs.  Here is the same patch, except
with just the important details highlighted.

Thanks, Devin Bayer
Comment 4 Devin Bayer 2005-11-02 12:42:55 MST
Created attachment 41 [details]
Cross compile fixes only (no autoconf 2.57-2.59 changes)
Comment 5 Todd C. Miller 2010-08-02 15:32:59 MDT
The latest sudo sources can be cross-compiled without specifying any cache values in the environment.