From owner-freebsd-arm@FreeBSD.ORG Tue May 19 08:39:41 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20758F51 for ; Tue, 19 May 2015 08:39:41 +0000 (UTC) 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 mx1.freebsd.org (Postfix) with ESMTPS id E5FB611D2 for ; Tue, 19 May 2015 08:39:40 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4J8deZm053009 for ; Tue, 19 May 2015 08:39:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 200322] lang/erlang failes to build on armv6 with HiPE enabled Date: Tue, 19 May 2015 08:39:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: a.andersson.thn@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 08:39:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200322 Bug ID: 200322 Summary: lang/erlang failes to build on armv6 with HiPE enabled Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: olgeni@FreeBSD.org Reporter: a.andersson.thn@gmail.com CC: freebsd-arm@FreeBSD.org CC: freebsd-arm@FreeBSD.org Flags: maintainer-feedback?(olgeni@FreeBSD.org) Assignee: olgeni@FreeBSD.org On a Raspberry PI 2 the lang/erlang port fails to build with HiPE enabled. Disabling HiPE and build works. CC obj/armv6-portbld-freebsd11.0/opt/smp/erl_bif_info.o beam/erl_bif_info.c:2109:10: error: use of undeclared identifier 'am_arm'; did you mean 'alarm'? BIF_RET(hipe_arch_name); ^~~~~~~~~~~~~~ alarm hipe/hipe_arm.h:39:24: note: expanded from macro 'hipe_arch_name' #define hipe_arch_name am_arm ^ beam/bif.h:118:28: note: expanded from macro 'BIF_RET' #define BIF_RET(x) return (x) ^ /usr/include/unistd.h:323:15: note: 'alarm' declared here unsigned int alarm(unsigned int); ^ 1 error generated. armv6-portbld-freebsd11.0/Makefile:685: recipe for target 'obj/armv6-portbld-freebsd11.0/opt/smp/erl_bif_info.o' failed gmake[5]: *** [obj/armv6-portbld-freebsd11.0/opt/smp/erl_bif_info.o] Error 1 gmake[5]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_17.5/erts/emulator' /usr/ports/lang/erlang/work/otp_src_17.5/make/run_make.mk:34: recipe for target 'opt' failed gmake[4]: *** [opt] Error 2 gmake[4]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_17.5/erts/emulator' Makefile:60: recipe for target 'smp' failed gmake[3]: *** [smp] Error 2 gmake[3]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_17.5/erts' Makefile:443: recipe for target 'emulator' failed gmake[2]: *** [emulator] Error 2 gmake[2]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_17.5' *** Error code 1 -- You are receiving this mail because: You are on the CC list for the bug.