After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 607317 - [PATCH] fix unaligned detection for x86-64 when cross compiling
[PATCH] fix unaligned detection for x86-64 when cross compiling
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-18 15:52 UTC by Peter Korsgaard
Modified: 2010-01-19 08:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst-arch.m4 patch (1.31 KB, patch)
2010-01-18 15:53 UTC, Peter Korsgaard
committed Details | Review

Description Peter Korsgaard 2010-01-18 15:52:56 UTC
Commit 4221e9dc (amd64/x86_64 allows unaligned memory access too) added
x86-64 to the unaligned access whitelist, but missed the trailing
wildcards, so the test never succeeds (host is something like
x86_64-unknown-linux-gnu).

When building natively, this isn't a big deal as the AC_TRY_RUN test
correctly detects it, but that doesn't work when cross compiling so
the build dies with:

configure: error: cannot run test program while cross compiling
See `config.log' for more details.

Fix it by adding the trailing wildcards.
Comment 1 Peter Korsgaard 2010-01-18 15:53:29 UTC
Created attachment 151674 [details] [review]
gst-arch.m4 patch
Comment 2 Sebastian Dröge (slomo) 2010-01-19 08:21:21 UTC
commit 15d47a6bedef727075895311282d9f5f5186b49d
Author: Peter Korsgaard <jacmet@sunsite.dk>
Date:   Mon Jan 18 16:22:01 2010 +0100

    gst-arch.m4: fix unaligned detection for x86-64 when cross compiling
    
    Commit 4221e9dc (amd64/x86_64 allows unaligned memory access too) added
    x86-64 to the unaligned access whitelist, but missed the trailing
    wildcards, so the test never succeeds (host is something like
    x86_64-unknown-linux-gnu).
    
    When building natively, this isn't a big deal as the AC_TRY_RUN test
    correctly detects it, but that doesn't work when cross compiling so
    the build dies with:
    
    configure: error: cannot run test program while cross compiling
    See `config.log' for more details.
    
    Fix it by adding the trailing wildcards.
    
    Fixes bug #607317.