Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp778843imm; Fri, 31 Aug 2018 13:03:07 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbc9PZ7Wk9Jp+AhZl/+WtFIqp8JkAwqO/wJ0r41aMTDLJsxxmgNrZdTif8Tssq8FrnRVdbX X-Received: by 2002:a63:ad44:: with SMTP id y4-v6mr15645859pgo.138.1535745786963; Fri, 31 Aug 2018 13:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535745786; cv=none; d=google.com; s=arc-20160816; b=vh/tPqnmafg1imkRccvustvSqgL8KXquRYGKoA//DJzVo0jwtXW634kksUY/gWCQct fUViAKQ/1FEuoMuovbSCq66JdWVW/JoEgxUT2mwZS8LpXe75yTuJftXCbooGw72RYK9/ uqa61t/+IQ4qCmo8KHq5/comnJreKg+WXBmkX/elG++bh6sK8GKrqZSARKGqElq+zvZ0 x9k/+npK315EUFXhdUV0SPc8UOeHvWyyMJd+J4UMkz9X+4mMPF2hnThSnLssOZ2i/P7s yQdBvjeoc2kTDCTcqEhnK4gruwDQsrEFVru/iqO2I7SDP6wyId4OK8dAD++0IbnxRi+7 uq9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=tumv+ABbFacUBO/ZCb3vqSeVlSDKumLP+HicbEcRpFM=; b=04HsRVKggvmDMxKEnrSV0EFL023YBRySsW1ZKU2TFRD9W7yyyyNsAgtFpLAHsjXnPF +0kVfPr/8MSwhywyyt+0oCev+BC1x2bX7p2kDrjKNA/swpuQk07exI7GR8bgYEi2GToa zgqM7Bu8SvexArVUjvD2Q3NOkuR8sVMj9M0DY3kxoOaVPVWQJKxvNKF2kFhD0cjfh15r T+ygxOUKDgG7ZAP1khxPnR7v7vhAqVff54TNH2600Oq4kOTaxDBsjDhiAXwtkHydAl6b vdvc6eCoa5zuHhdk+QsK3B3W4AdDeY/Y/dyFIsHL0ycGeXgk/ol2QTNSjOrSJR3Bbo5s tTdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y14-v6si10332725plp.371.2018.08.31.13.02.50; Fri, 31 Aug 2018 13:03:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727390AbeIAAKl (ORCPT + 99 others); Fri, 31 Aug 2018 20:10:41 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:53238 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727203AbeIAAKl (ORCPT ); Fri, 31 Aug 2018 20:10:41 -0400 Received: from p4fea45ac.dip0.t-ipconnect.de ([79.234.69.172] helo=[192.168.0.145]) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fvpbt-0003nS-CL; Fri, 31 Aug 2018 22:01:37 +0200 Date: Fri, 31 Aug 2018 22:01:36 +0200 (CEST) From: Thomas Gleixner To: Meelis Roos cc: Linux Kernel list , x86@kernel.org, Peter Zijlstra Subject: =?ISO-8859-7?Q?Re=3A_cmpxchg=2Eh=3A245=3A2=3A_error=3A_=A1asm=A2_?= =?ISO-8859-7?Q?operand_has_impossible_constraints?= In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-1936046785-1535745304=:1349" Content-ID: X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1936046785-1535745304=:1349 Content-Type: text/plain; CHARSET=ISO-8859-7 Content-Transfer-Encoding: 8BIT Content-ID: On Mon, 27 Aug 2018, Meelis Roos wrote: > While trying to compile v4.18-13105-gaba16dc5cf93 with gcc 5.3.1 on a > 32-bit x86 configured for AMD K6: I tried to get hold of that debian gcc 5.3.1 compiler, but no luck so far. > CC mm/slub.o > In file included from ./arch/x86/include/asm/atomic.h:8:0, > from ./include/linux/atomic.h:7, > from ./arch/x86/include/asm/thread_info.h:54, > from ./include/linux/thread_info.h:38, > from ./arch/x86/include/asm/preempt.h:7, > from ./include/linux/preempt.h:81, > from ./include/linux/spinlock.h:51, > from ./include/linux/mmzone.h:8, > from ./include/linux/gfp.h:6, > from ./include/linux/mm.h:10, > from mm/slub.c:13: > mm/slub.c: In function ?__slab_free?: > ./arch/x86/include/asm/cmpxchg.h:245:2: error: ?asm? operand has impossible constraints > asm volatile(pfx "cmpxchg%c4b %2; sete %0" \ I so love the informative output of GCC on ASM errors .... What's even more confusing is that the __cmpxchg_double() macro has not been changed since Jan, 2012. Thanks, tglx --8323329-1936046785-1535745304=:1349--