First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 223159
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Petteri Räty <betelgeuse@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ryan Hill <dirtyepic@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
distcc-march-native.patch distcc-march-native.patch patch Ryan Hill 2008-05-22 04:00 0000 934 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 223159 depends on: Show dependency tree
Show dependency graph
Bug 223159 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-22 04:00 0000
When using distcc on machines with differing instruction sets and
-march=native, it's possible for GCC to create object files containing
instructions that are not supported by the host architecture (eg. if the host
is SSE2 but a node is SSE3 - native detects what is available on the machine
doing the actual compile).  The attached patch by Martin Pool forces distcc to
run jobs being built with -march=native locally and print a warning.

distcc with -mtune=native won't break anything but can result some objects
being optimized for a different sub-arch, so the patch includes it too.  i
don't think it makes much difference really.

This patch was sent to the distcc ML but there's no indication whether it was
applied or not, and i'm not installing GNU Arch just to find out. ;)

------- Comment #1 From Ryan Hill 2008-05-22 04:00:49 0000 -------
Created an attachment (id=153895) [edit]
distcc-march-native.patch

------- Comment #2 From Petteri Räty 2008-05-25 21:38:09 0000 -------
(In reply to comment #1)
> Created an attachment (id=153895) [edit]
> distcc-march-native.patch
> 

Feel free to bump the revision and apply the patch in the tree.

------- Comment #3 From Ryan Hill 2008-05-26 01:34:12 0000 -------
Done, thanks.

------- Comment #4 From Steen Eugen Poulsen 2008-09-21 17:17:40 0000 -------
-march=native is FINE for us that run compiler farms on the same IRON and this
patch really need to be reworked.

------- Comment #5 From Ryan Hill 2008-09-21 20:05:31 0000 -------
this patch is upstream now.  best to talk to them.

First Last Prev Next    No search results available      Search page      Enter new bug