Bug 10267 - workaround for missing --with-libtool-sysroot has wrong sysroot
Summary: workaround for missing --with-libtool-sysroot has wrong sysroot
Status: RESOLVED FIXED
Alias: None
Product: ADT Manual
Classification: Documentation
Component: SDK (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3 M2
Assignee: Scott Rifenbark
QA Contact:
URL:
Whiteboard: 08 Nov 2016: RESOLVED
Depends on:
Blocks:
 
Reported: 2016-09-13 13:34 UTC by Jussi Kukkonen
Modified: 2016-11-08 17:41 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: Done (doc changes complete)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jussi Kukkonen 2016-09-13 13:34:11 UTC
http://www.yoctoproject.org/docs/current/sdk-manual/sdk-manual.html#passing-host-options

There is a very useful note in "2.4.2 Passing Host Options" part of the SDK manual where an example is given for fixing an old configure that doesn't recognize --with-libtool-sysroot. I think OECORE_NATIVE_SYSROOT is not a good choice for aclocal though, in the usual case the correct sysroot would be the target sysroot.

In other words I believe the example aclocal call in the note should be:

     $ aclocal -I ${OECORE_TARGET_SYSROOT}/usr/share/aclocal \
        [-I dir_containing_your_project-specific_m4_macros]
Comment 1 Scott Rifenbark 2016-09-16 17:54:02 UTC
Hi Jussi, 

Here is the change... http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#passing-host-options.

If good let me know.  I will update the status of the bug.

Scott
Comment 2 Scott Rifenbark 2016-09-16 17:54:45 UTC
Setting myself to the CC list.
Comment 3 Jussi Kukkonen 2016-09-20 08:48:29 UTC
(In reply to comment #1)
> Hi Jussi, 
> 
> Here is the change...
> http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#passing-host-
> options.
> 
> If good let me know.  I will update the status of the bug.


Yep, I believe that's (more often) correct. Thanks.
Comment 4 Scott Rifenbark 2016-09-22 17:30:03 UTC
Thanks, 

I am setting the bug to RESOLVED and putting the doc flag to "done."

Scott
Comment 5 Ross Burton 2016-09-27 15:05:16 UTC
Sorry to re-open.  Can we change the list of commands in that section to be just:

$ autoreconf -i -f -I ${OECORE_TARGET_SYSROOT}/usr/share/aclocal -I ${OECORE_NATIVE_SYSROOT}/usr/share/aclocal [-I dir_containing_your_project-specific_m4_macros]

(one long line)
Comment 6 Scott Rifenbark 2016-10-03 16:49:46 UTC
Ross, 

See http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#passing-host-options for the change.  Let me know if this is okay and I will RESOLVE the bug again.

Scott
Comment 7 Scott Rifenbark 2016-10-25 20:11:15 UTC
Moving to 2.3 M2
Comment 8 Scott Rifenbark 2016-11-08 17:41:34 UTC
I am setting this to RESOLVED and putting the doc flag to "done."  No further feedback after implementing Ross' suggestion.

Scott