From owner-freebsd-ports-bugs@freebsd.org Fri Jul 12 19:15:10 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83D3E15D3D23 for ; Fri, 12 Jul 2019 19:15:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 199C6880B8 for ; Fri, 12 Jul 2019 19:15:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CE37715D3D21; Fri, 12 Jul 2019 19:15:09 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E47515D3D20 for ; Fri, 12 Jul 2019 19:15:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23F00880AC for ; Fri, 12 Jul 2019 19:15:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4948A1CEB for ; Fri, 12 Jul 2019 19:15:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x6CJF8bC023156 for ; Fri, 12 Jul 2019 19:15:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x6CJF8gP023155 for ports-bugs@FreeBSD.org; Fri, 12 Jul 2019 19:15:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238915] sysutils/busybox: Update to 1.30.1 Date: Fri, 12 Jul 2019 19:15:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fernape@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2019 19:15:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238915 Fernando Apestegu=C3=ADa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fernape@FreeBSD.org --- Comment #3 from Fernando Apestegu=C3=ADa --- Hi Samm, Thanks for the patch. The port doesn't build in i386 systems due to this error: include/platform.h:125:47: note: expanded from macro 'FAST_FUNC' # define FAST_FUNC __attribute__((regparm(3),stdcall)) ^ networking/tls_pstm_montgomery_reduce.c:385:4: error: unknown register name '%cc' in asm INNERMUL; ^ networking/tls_pstm_montgomery_reduce.c:76:19: note: expanded from macro 'INNERMUL' : "%eax", "%edx", "%cc") ^ networking/tls_pstm_montgomery_reduce.c:390:4: error: unknown register name '%cc' in asm PROPCARRY; ^ networking/tls_pstm_montgomery_reduce.c:85:11: note: expanded from macro 'PROPCARRY' : "%eax", "%cc") ^ 11 warnings and 2 errors generated. gmake[2]: *** [scripts/Makefile.build:198: networking/tls_pstm_montgomery_reduce.o] Error 1 gmake[1]: *** [Makefile:743: networking] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/busybox/work/busybox-1.30.1' *** Error code 1 I fixed it quick and dirty by replacing %cc with cc[1] just to face another error of the type "inline assembly requires more registers than available".= It seems that assembler code outsmarts clang and the compiler chokes. However GCC builds the port fine so I added this on top of your patch: +.if ${ARCH} =3D=3D "i386" +USE_GCC=3D yes +.endif I did some light testing (ls, mkdir, rmdir, wc...). Would you mind to test = it yourself? Thanks in advance. [1] https://bugs.llvm.org/show_bug.cgi?id=3D10365 --=20 You are receiving this mail because: You are the assignee for the bug.=