Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2015 08:39:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 200322] lang/erlang failes to build on armv6 with HiPE enabled
Message-ID:  <bug-200322-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200322-7>