Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Oct 2014 21:16:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194102] New: libobjc2 on arm will not build - FreeBSD 10.x
Message-ID:  <bug-194102-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194102

            Bug ID: 194102
           Summary: libobjc2 on arm will not build - FreeBSD 10.x
           Product: Ports Tree
           Version: Latest
          Hardware: arm
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: direct727@gmail.com
                CC: theraven@FreeBSD.org
                CC: theraven@FreeBSD.org

libobjc2 will not compile on FreeBSD 10.x on arm. I believe this issue has
occurred since the change to clang 3.4. There was no problem when clang was at
3.3.

I am using a Raspberry Pi.

root@raspberry-pi:/usr/ports/lang/libobjc2 # make MAKE_JOBS_UNSAFE=yes install
clean
===>   libobjc2-1.7_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libobjc2-1.7_1 for building
===>  Extracting for libobjc2-1.7_1
=> SHA256 Checksum OK for libobjc2-1.7.tar.bz2.
===>  Patching for libobjc2-1.7_1
===>  Applying FreeBSD patches for libobjc2-1.7_1
===>   libobjc2-1.7_1 depends on file: /usr/local/bin/cmake - found
===>  Configuring for libobjc2-1.7_1
===>  Performing in-source build
/bin/mkdir -p /usr/ports/lang/libobjc2/work/libobjc2-1.7
-- The C compiler identification is Clang 3.4.1
-- The CXX compiler identification is Clang 3.4.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The ASM compiler identification is Clang
-- Found assembler: /usr/bin/clang
-- Using /usr/lib/libcxxrt.so as the C++ runtime library
-- Is runtime useable? TRUE
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Found Threads: TRUE  
-- GNUstep install type set to NONE
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_EXE_LINKER_FLAGS
    CMAKE_MODULE_LINKER_FLAGS


-- Build files have been written to: /usr/ports/lang/libobjc2/work/libobjc2-1.7
===>  Building for libobjc2-1.7_1
Scanning dependencies of target objc
[  3%] Building C object CMakeFiles/objc.dir/abi_version.c.o
[  6%] Building C object CMakeFiles/objc.dir/alias_table.c.o
[  9%] Building C object CMakeFiles/objc.dir/block_to_imp.c.o
[ 12%] Building C object CMakeFiles/objc.dir/caps.c.o
[ 15%] Building C object CMakeFiles/objc.dir/category_loader.c.o
[ 18%] Building C object CMakeFiles/objc.dir/class_table.c.o
[ 21%] Building C object CMakeFiles/objc.dir/dtable.c.o
[ 25%] Building C object CMakeFiles/objc.dir/eh_personality.c.o
/usr/ports/lang/libobjc2/work/libobjc2-1.7/eh_personality.c:703:29: warning: 
      implicit declaration of function '_Unwind_Resume_or_Rethrow' is invalid
in
      C99 [-Wimplicit-function-declaration]
                _Unwind_Reason_Code err = _Unwind_Resume_or_Rethrow(e);
                                          ^
1 warning generated.
[ 28%] Building C object CMakeFiles/objc.dir/encoding2.c.o
[ 31%] Building C object CMakeFiles/objc.dir/gc_none.c.o
[ 34%] Building C object CMakeFiles/objc.dir/hash_table.c.o
[ 37%] Building C object CMakeFiles/objc.dir/hooks.c.o
[ 40%] Building C object CMakeFiles/objc.dir/ivar.c.o
[ 43%] Building C object CMakeFiles/objc.dir/legacy_malloc.c.o
[ 46%] Building C object CMakeFiles/objc.dir/loader.c.o
[ 50%] Building CXX object CMakeFiles/objc.dir/mutation.m.o
[ 53%] Building C object CMakeFiles/objc.dir/protocol.c.o
[ 56%] Building C object CMakeFiles/objc.dir/runtime.c.o
[ 59%] Building C object CMakeFiles/objc.dir/sarray2.c.o
[ 62%] Building C object CMakeFiles/objc.dir/selector_table.c.o
[ 65%] Building C object CMakeFiles/objc.dir/sendmsg2.c.o
[ 68%] Building C object CMakeFiles/objc.dir/statics_loader.c.o
[ 71%] Building C object CMakeFiles/objc.dir/toydispatch.c.o
[ 75%] Building ASM object CMakeFiles/objc.dir/block_trampolines.S.o
[ 78%] Building ASM object CMakeFiles/objc.dir/objc_msgSend.S.o
[ 81%] Building C object CMakeFiles/objc.dir/NSBlocks.m.o
[ 84%] Building C object CMakeFiles/objc.dir/Protocol2.m.o
[ 87%] Building C object CMakeFiles/objc.dir/arc.m.o
/tmp/arc-0f0d5d.s: Assembler messages:
/tmp/arc-0f0d5d.s:3266: Error: unrecognized symbol type
".objc_sel_nameaddObject"
/tmp/arc-0f0d5d.s:3266: Error: junk at end of line, first unrecognized
character is `:'
/tmp/arc-0f0d5d.s:3268: Error: junk at end of line, first unrecognized
character is `"'
/tmp/arc-0f0d5d.s:3269: Error: junk at end of line, first unrecognized
character is `"'
/tmp/arc-0f0d5d.s:3271: Error: expected comma after name `' in .size directive
/tmp/arc-0f0d5d.s:3323: Error: bad expression
/tmp/arc-0f0d5d.s:3323: Error: junk at end of line, first unrecognized
character is `.'
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/lang/libobjc2/work/libobjc2-1.7
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/lang/libobjc2/work/libobjc2-1.7
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/libobjc2/work/libobjc2-1.7
*** Error code 1

Stop.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainers CC'd

-- 
You are receiving this mail because:
You are the assignee for the bug.



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