Summary: | dev-lang/python-3.6 - blake2 module build failure due to mis-detection of CPU instructions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oleh <moonlapse81> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dschridde+gentoobugs, jason.mours, johannes.hirte, kkrizka, moonlapse81, n.andrew.walsh, n.sevchenco, nelo, oleg.hoefling, steven, vityokster |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.python.org/issue29504 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
remove nested comments in blake2s-load-xop.h |
Description
Oleh
2017-02-08 07:20:02 UTC
Created attachment 462840 [details]
build.log
Reported upstream. Created attachment 465354 [details, diff]
remove nested comments in blake2s-load-xop.h
simple patch that removes the nested comments and make python-3.6.0 compile on my system with -march=bdver4
here the same: System: Linux-4.9.4 x86_64 AMD A8-7600 Radeon R7 CFLAGS="-march=native -mno-tbm -O2 -pipe" gcc --version gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0 and compile with the patch provided by johannes as well. *** Bug 611730 has been marked as a duplicate of this bug. *** Same problem with python-3.6.1. The patch fixes it there too. *** Bug 620296 has been marked as a duplicate of this bug. *** I confirm that the patch attached here as attachment #465354 [details, diff] works to get dev-lang/python-3.6.1 to compile. I would suggest to p-mask dev-lang/python:3.6 until this is resolved.
(In reply to Dennis Schridde from comment #8) A build failure that is easy to work around does not warrant an entry in package.mask. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61958b88555c08f099c70d0b1989b86bcd3f2465 commit 61958b88555c08f099c70d0b1989b86bcd3f2465 Author: Mike Gilbert <floppym@gentoo.org> Date: Sun Jul 30 11:23:27 2017 -0400 dev-lang/python: fix build failure in blake2 module Thanks to Johannes Hirte for the simple solution. Bug: https://bugs.gentoo.org/608586 Package-Manager: Portage-2.3.6_p23, Repoman-2.3.3_p1 dev-lang/python/files/3.6-blake2.patch | 37 ++++++++++++++++++++++++++++++++++ dev-lang/python/python-3.6.1-r1.ebuild | 1 + 2 files changed, 38 insertions(+) |