[ovs-git] Open vSwitch: configure: Pass correct -target option to "cgcc" in the common case. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jul 11 23:17:56 UTC 2011

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  643c0c3491764075e8b21239fd88a2bdae4b8417 (commit)
      from  f948cd95244c87365089c17ca9caed3db06aafe3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 643c0c3491764075e8b21239fd88a2bdae4b8417
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=643c0c3491764075e8b21239fd88a2bdae4b8417
Author: Ben Pfaff <blp at nicira.com>
configure: Pass correct -target option to "cgcc" in the common case.
The "cgcc" script included with sparse guesses the target architecture
based on the host architecture instead of based on the GCC architecture.
This means that it often guesses wrong on biarch systems, e.g. my Linux
kernel is x86_64 but userspace is i686 and thus GCC targets i686 by

This fixes the problem by passing an explicit "-target=i86" to cgcc if
GCC targets x86 or "-target=x86_64" if GCC targets x86_64.

Bug #6312.
Reported-by: Ethan Jackson <ethan at nicira.com>


Summary of changes:
 acinclude.m4 |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

Open vSwitch

More information about the git mailing list