[Bug 249569] devel/llvm90 : Fails to bu ild on FreeBSD 12.2-BETA1 r365618 GENERIC pow erpc 32 bit:FAILED: lib/Target/AArch64/MCTarg etDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64 InstPrinter.cpp.o

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249569

            Bug ID: 249569
           Summary: devel/llvm90 : Fails to build on FreeBSD 12.2-BETA1
                    r365618 GENERIC powerpc 32 bit:FAILED:
                    lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64
                    Desc.dir/AArch64InstPrinter.cpp.o
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
             Flags: maintainer-feedback?([email protected])
                CC: [email protected]
          Assignee: [email protected]

Problem found when building devel/llvm90 on FreeBSD 12.2-BETA1 r365618 GENERIC
powerpc 32 bit, running on Apple Powerbook 17".



# uname -a
FreeBSD G417122B1 12.2-BETA1 FreeBSD 12.2-BETA1 r365618 GENERIC  powerpc


# cc --version
cc (GCC) 4.2.1 20070831 patched [FreeBSD]


usr/ports/devel/llvm90 # make -DBATCH install clean
===>  Building for llvm90-9.0.1_2
[1/3827] /usr/local/bin/g++9 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Ilib/Target/AArch64/MCTargetDesc
-I/usr/ports/devel/llvm90/work/llvm-9.0.1.src/lib/Target/AArch64/MCTargetDesc
-I/usr/ports/devel/llvm90/work/llvm-9.0.1.src/lib/Target/AArch64
-Ilib/Target/AArch64 -Iinclude
-I/usr/ports/devel/llvm90/work/llvm-9.0.1.src/include
-I/usr/ports/devel/llvm90/work/llvm-9.0.1.src/lib/Target/AArch64/MCTargetDesc/..
-Ilib/Target/AArch64/MCTargetDesc/.. -O2 -pipe  -DNDEBUG
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9  -DNDEBUG
-Wl,-rpath=/usr/local/lib/gcc9 -isystem /usr/local/include -fPIC
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough
-Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type
-Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections
-fdata-sections -O2 -pipe  -DNDEBUG -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9  -DNDEBUG -Wl,-rpath=/usr/local/lib/gcc9
-isystem /usr/local/include  -fno-exceptions -MD -MT
lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64InstPrinter.cpp.o
-MF
lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64InstPrinter.cpp.o.d
-o
lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64InstPrinter.cpp.o
-c
/usr/ports/devel/llvm90/work/llvm-9.0.1.src/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
FAILED:
lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64InstPrinter.cpp.o 
/usr/local/bin/g++9 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Ilib/Target/AArch64/MCTargetDesc
-I/usr/ports/devel/llvm90/work/llvm-9.0.1.src/lib/Target/AArch64/MCTargetDesc
-I/usr/ports/devel/llvm90/work/llvm-9.0.1.src/lib/Target/AArch64
-Ilib/Target/AArch64 -Iinclude
-I/usr/ports/devel/llvm90/work/llvm-9.0.1.src/include
-I/usr/ports/devel/llvm90/work/llvm-9.0.1.src/lib/Target/AArch64/MCTargetDesc/..
-Ilib/Target/AArch64/MCTargetDesc/.. -O2 -pipe  -DNDEBUG
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9  -DNDEBUG
-Wl,-rpath=/usr/local/lib/gcc9 -isystem /usr/local/include -fPIC
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough
-Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type
-Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections
-fdata-sections -O2 -pipe  -DNDEBUG -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9  -DNDEBUG -Wl,-rpath=/usr/local/lib/gcc9
-isystem /usr/local/include  -fno-exceptions -MD -MT
lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64InstPrinter.cpp.o
-MF
lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64InstPrinter.cpp.o.d
-o
lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64InstPrinter.cpp.o
-c
/usr/ports/devel/llvm90/work/llvm-9.0.1.src/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
ninja: build stopped: subcommand failed.
*** Signal 11
Segmentation fault (core dumped)


Is it relevant to attach a .log, or a .core ? 
If yes, please tell me where I can find it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.