FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 02-16-2010, 12:34 PM
Matt Domsch
 
Default how to have mock use arch i686?

This post suggests I need to be building packages using arch i686
instead of i386 as mock does by default. If so, how do I go about
doing so?

Thanks,
Matt


----- Forwarded message from bugzilla@redhat.com -----

Date: Tue, 16 Feb 2010 07:23:46 -0500
Subject: [Bug 565074] FTBFS opencv-2.0.0-4.fc13

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=565074

Karel Kl*č <kklic@redhat.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |CLOSED
Resolution| |RAWHIDE

--- Comment #5 from Karel Kl*č <kklic@redhat.com> 2010-02-16 07:23:43 EST ---
The -march=i386 is added by /usr/lib/rpm/redhat/rpmrc

The FTBFS system uses i386 build architecture. Koji uses i686 architecture
which has no problem with the compilation.

I fixed it by overriding CXXFLAXS on i386:
%ifarch i386
export CXXFLAGS="%{__global_cflags} -m32 -fasynchronous-unwind-tables"
%endif

--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.


----- End forwarded message -----
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-16-2010, 01:32 PM
Paul Howarth
 
Default how to have mock use arch i686?

On 16/02/10 13:34, Matt Domsch wrote:
> This post suggests I need to be building packages using arch i686
> instead of i386 as mock does by default. If so, how do I go about
> doing so?

Do you have this in your mock config?

config_opts['target_arch'] = 'i686'

Paul.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 09:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org