./trunk/gcc103/target-check-packages-loongarch64-linux-using-libc-with-buildfullnative.last-failure-txt 2025-10-23-19:29
/home/muller/bin/loongarch64-linux-as /home/muller/bin/loongarch64-linux-ld /home/muller/pas/fpc-3.3.1/bin/ppcloongarch64
> uname -a Linux cfarm103 6.5.0-asahi-00780-g62806c2c6f29 #1 SMP Sun Nov 12 09:51:23 CET 2023 aarch64 GNU/Linux > sha256sum: 5cea33fa154c6a6a8d441c0bab060ee56837accff3fc44477fd287dc51d9e6e3 /home/muller/bin/loongarch64-linux-as > /home/muller/bin/loongarch64-linux-as --version: GNU assembler (GNU Binutils) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `loongarch64-unknown-linux-gnu'. > sha256sum: 3b656f69189b5814a78a584d43aeaaa3a9e13261d1dc748325a6deb88a0e0540 /home/muller/bin/loongarch64-linux-ld > /home/muller/bin/loongarch64-linux-ld --version: GNU ld (GNU Binutils) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. > sha256sum: e19aa0dece3abe75f54f0fec9230027f1d6aea09a7308df4f620fb94e1bca84d /home/muller/pas/fpc-3.3.1/bin/ppcloongarch64 > /home/muller/pas/fpc-3.3.1/bin/ppcloongarch64 -iVDW: 3.3.1 2025/10/23 3.3.1-18762-g8f4981e9ec-unpushed
Testing compilation in packages for loongarch64-linux-using-libc, with CROSSOPT="-XR/home/muller/sys-root/loongarch64-linux -n -dFPC_USE_LIBC -vx -Fl/home/muller/sys-root/loongarch64-linux/usr/lib -k-rpath=/usr/lib -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64 -k-rpath=/usr/lib64 -Fl/home/muller/sys-root/loongarch64-linux/lib -k-rpath=/lib -Fl/home/muller/sys-root/loongarch64-linux/lib64 -k-rpath=/lib64 -Fl/home/muller/sys-root/loongarch64-linux/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Xd -k--sysroot=/home/muller/sys-root/loongarch64-linux -dXr_disabled" with BUILDFULLNATIVE=1 FPC=/home/muller/pas/fpc-3.3.1/bin/ppcloongarch64 BINUTILSPREFIX=loongarch64-linux- (GNU assembler (GNU Binutils) 2.42 using rtl/linux)
### /usr/bin/gmake -j 6 -r -C packages all CPU_TARGET=loongarch64 OS_TARGET=linux BINUTILSPREFIX=loongarch64-linux- CROSSOPT="-XR/home/muller/sys-root/loongarch64-linux -n -dFPC_USE_LIBC -vx -Fl/home/muller/sys-root/loongarch64-linux/usr/lib -k-rpath=/usr/lib -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64 -k-rpath=/usr/lib64 -Fl/home/muller/sys-root/loongarch64-linux/lib -k-rpath=/lib -Fl/home/muller/sys-root/loongarch64-linux/lib64 -k-rpath=/lib64 -Fl/home/muller/sys-root/loongarch64-linux/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Xd -k--sysroot=/home/muller/sys-root/loongarch64-linux -dXr_disabled" FPC=/home/muller/pas/fpc-3.3.1/bin/ppcloongarch64 FPCMAKEOPT=" -gl" INSTALL_PREFIX=/home/muller/pas/fpc-3.3.1
gmake: Entering directory '/home/muller/pas/gitlab-fpc-source/packages'
gcc: error: unrecognized command-line option '-m64'
./fpmake compile --localunitdir=.. --os=linux --cpu=loongarch64 -o -Ploongarch64 -o -XPloongarch64-linux- -o -dloongarch64 -o -XR/home/muller/sys-root/loongarch64-linux -o -n -o -dFPC_USE_LIBC -o -vx -o -Fl/home/muller/sys-root/loongarch64-linux/usr/lib -o -k-rpath=/usr/lib -o -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64 -o -k-rpath=/usr/lib64 -o -Fl/home/muller/sys-root/loongarch64-linux/lib -o -k-rpath=/lib -o -Fl/home/muller/sys-root/loongarch64-linux/lib64 -o -k-rpath=/lib64 -o -Fl/home/muller/sys-root/loongarch64-linux/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -o -k-rpath=/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -o -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -o -k-rpath=/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -o -Fl/home/muller/sys-root/loongarch64-linux/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -o -k-rpath=/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -o -Fl/home/muller/sys-root/loongarch64-linux/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -o -k-rpath=/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -o -Xd -o -k--sysroot=/home/muller/sys-root/loongarch64-linux -o -dXr_disabled --compiler=/home/muller/pas/fpc-3.3.1/bin/ppcloongarch64 -bu
Start compiling package a52 for target loongarch64-linux.
Compiling a52/src/a52.pas
[ 1%] Compiled package a52
Start compiling package aspell for target loongarch64-linux.
Compiling aspell/units/loongarch64-linux/BuildUnit_aspell.pp
Compiling ./aspell/src/spellcheck.pp
Compiling ./aspell/src/aspell.pp
Compiling ./aspell/src/aspelldyn.pp
[ 3%] Compiled package aspell
Start compiling package bfd for target loongarch64-linux.
Compiling bfd/src/bfd.pas
[ 3%] Compiled package bfd
Start compiling package rtl-extra for target loongarch64-linux.
Compiling rtl-extra/units/loongarch64-linux/BuildUnit_rtl_extra.pp
Compiling ./rtl-extra/src/inc/sortalgs.pp
Compiling ./rtl-extra/src/unix/clocale.pp
Compiling ./rtl-extra/src/unix/ipc.pp
Compiling ./rtl-extra/src/unix/unixsockets.pp
Compiling ./rtl-extra/src/unix/serial.pp
Compiling ./rtl-extra/src/unix/gpm.pp
Compiling ./rtl-extra/src/unix/sockets.pp
Compiling ./rtl-extra/src/unix/printer.pp
Compiling ./rtl-extra/src/inc/objects.pp
Compiling ./rtl-extra/src/inc/matrix.pp
Compiling ./rtl-extra/src/inc/ucomplex.pp
Compiling ./rtl-extra/src/inc/real48utils.pp
[ 4%] Compiled package rtl-extra
Start compiling package bzip2 for target loongarch64-linux.
Compiling bzip2/units/loongarch64-linux/BuildUnit_bzip2.pp
Compiling ./bzip2/src/bzip2stream.pp
Compiling ./bzip2/src/bzip2comn.pp
Compiling ./bzip2/src/bzip2.pas
[ 5%] Compiled package bzip2
Start compiling package x11 for target loongarch64-linux.
Compiling x11/units/loongarch64-linux/BuildUnit_x11.pp
Compiling ./x11/src/xtestext1.pp
Compiling ./x11/src/x.pp
Compiling ./x11/src/xlib.pp
Compiling ./x11/src/xmd.pp
Compiling ./x11/src/sync.pp
Compiling ./x11/src/security.pp
Compiling ./x11/src/multibuf.pp
Compiling ./x11/src/dpms.pp
Compiling ./x11/src/xdbe.pp
Compiling ./x11/src/xcup.pp
Compiling ./x11/src/xag.pp
Compiling ./x11/src/xlbx.pp
Compiling ./x11/src/xevi.pp
Compiling ./x11/src/shape.pp
Compiling ./x11/src/xutil.pp
Compiling ./x11/src/mitmisc.pp
Compiling ./x11/src/xext.pp
Compiling ./x11/src/xft.pas
Compiling ./x11/src/fontconfig.pas
Compiling ./x11/src/xv.pp
Compiling ./x11/src/xvlib.pp
Compiling ./x11/src/xshm.pp
Compiling ./x11/src/keysym.pp
Compiling ./x11/src/xrender.pp
Compiling ./x11/src/xresource.pp
Compiling ./x11/src/xrandr.pp
Compiling ./x11/src/xkblib.pp
Compiling ./x11/src/xkb.pp
Compiling ./x11/src/xi.pp
Compiling ./x11/src/xinput2.pp
Compiling ./x11/src/xi2.pp
Compiling ./x11/src/xge.pp
Compiling ./x11/src/xfixes.pp
Compiling ./x11/src/xinput.pp
Compiling ./x11/src/xinerama.pp
Compiling ./x11/src/xf86vmode.pp
Compiling ./x11/src/xf86dga.pp
Compiling ./x11/src/xcms.pp
Compiling ./x11/src/xatom.pp
Compiling ./x11/src/xf86keysym.pp
Compiling ./x11/src/sunkeysym.pp
Compiling ./x11/src/hpkeysym.pp
Compiling ./x11/src/deckeysym.pp
Compiling ./x11/src/cursorfont.pp
[ 5%] Compiled package x11
Start compiling package pasjpeg for target loongarch64-linux.
Compiling pasjpeg/units/loongarch64-linux/BuildUnit_pasjpeg.pp
Compiling ./pasjpeg/src/buildpasjpeg.pp
Compiling ./pasjpeg/src/jutils.pas
Compiling ./pasjpeg/src/jmorecfg.pas
Compiling ./pasjpeg/src/jinclude.pas
Compiling ./pasjpeg/src/jpeglib.pas
Compiling ./pasjpeg/src/jquant2.pas
Compiling ./pasjpeg/src/jdeferr.pas
Compiling ./pasjpeg/src/jerror.pas
Compiling ./pasjpeg/src/jquant1.pas
Compiling ./pasjpeg/src/jmemnobs.pas
Compiling ./pasjpeg/src/jmemmgr.pas
Compiling ./pasjpeg/src/jidctred.pas
Compiling ./pasjpeg/src/jdct.pas
Compiling ./pasjpeg/src/jidctint.pas
Compiling ./pasjpeg/src/jidctfst.pas
Compiling ./pasjpeg/src/jidctflt.pas
Compiling ./pasjpeg/src/jfdctint.pas
Compiling ./pasjpeg/src/jfdctfst.pas
Compiling ./pasjpeg/src/jfdctflt.pas
Compiling ./pasjpeg/src/jcomapi.pas
Compiling ./pasjpeg/src/jdsample.pas
Compiling ./pasjpeg/src/jdpostct.pas
Compiling ./pasjpeg/src/jdphuff.pas
Compiling ./pasjpeg/src/jdhuff.pas
Compiling ./pasjpeg/src/jdmerge.pas
Compiling ./pasjpeg/src/jdmaster.pas
Compiling ./pasjpeg/src/jdcolor.pas
Compiling ./pasjpeg/src/jddctmgr.pas
Compiling ./pasjpeg/src/jdcoefct.pas
Compiling ./pasjpeg/src/jdmainct.pas
Compiling ./pasjpeg/src/jdmarker.pas
Compiling ./pasjpeg/src/jdinput.pas
Compiling ./pasjpeg/src/jdatasrc.pas
Compiling ./pasjpeg/src/jdatadst.pas
Compiling ./pasjpeg/src/jdapistd.pas
Compiling ./pasjpeg/src/jdapimin.pas
Compiling ./pasjpeg/src/jcsample.pas
Compiling ./pasjpeg/src/jcprepct.pas
Compiling ./pasjpeg/src/jcphuff.pas
Compiling ./pasjpeg/src/jchuff.pas
Compiling ./pasjpeg/src/jcparam.pas
Compiling ./pasjpeg/src/jcmaster.pas
Compiling ./pasjpeg/src/jcmarker.pas
Compiling ./pasjpeg/src/jcmainct.pas
Compiling ./pasjpeg/src/jcinit.pas
Compiling ./pasjpeg/src/jccolor.pas
Compiling ./pasjpeg/src/jcdctmgr.pas
Compiling ./pasjpeg/src/jccoefct.pas
Compiling ./pasjpeg/src/jcapistd.pas
Compiling ./pasjpeg/src/jcapimin.pas
Compiling ./pasjpeg/src/jctrans.pas
[ 6%] Compiled package pasjpeg
Start compiling package rtl-objpas for target loongarch64-linux.
Compiling rtl-objpas/units/loongarch64-linux/BuildUnit_rtl_objpas.pp
Compiling ./rtl-objpas/src/inc/fpmonitor.pp
Compiling ./rtl-objpas/src/inc/rtti.pp
Compiling ./rtl-objpas/src/inc/variants.pp
Compiling ./rtl-objpas/src/inc/stdconvs.pp
Compiling ./rtl-objpas/src/inc/convutils.pp
Compiling ./rtl-objpas/src/inc/dateutils.pp
Compiling ./rtl-objpas/src/inc/system.timespan.pp
Compiling ./rtl-objpas/src/inc/system.uiconsts.pp
[ 6%] Compiled package rtl-objpas
Start compiling package hash for target loongarch64-linux.
Compiling hash/units/loongarch64-linux/BuildUnit_hash.pp
Compiling ./hash/src/unixcrypt.pas
Compiling ./hash/src/fnvhash.pp
Compiling ./hash/src/hmac.pp
Compiling ./hash/src/md5.pp
Compiling ./hash/src/sha1.pp
Compiling ./hash/src/uuid.pas
Compiling ./hash/src/ntlm.pas
Compiling ./hash/src/crc.pas
[ 7%] Compiled package hash
Start compiling package paszlib for target loongarch64-linux.
Compiling paszlib/units/loongarch64-linux/BuildUnit_paszlib.pp
Compiling ./paszlib/src/zipper.pp
Compiling ./paszlib/src/zstream.pp
Compiling ./paszlib/src/gzio.pas
Compiling ./paszlib/src/zinflate.pas
Compiling ./paszlib/src/infutil.pas
Compiling ./paszlib/src/zbase.pas
Compiling ./paszlib/src/infblock.pas
Compiling ./paszlib/src/inftrees.pas
Compiling ./paszlib/src/infcodes.pas
Compiling ./paszlib/src/inffast.pas
Compiling ./paszlib/src/adler.pas
Compiling ./paszlib/src/zdeflate.pas
Compiling ./paszlib/src/trees.pas
Compiling ./paszlib/src/unzip.pas
Compiling ./paszlib/src/ziputils.pas
Compiling ./paszlib/src/zip.pas
Compiling ./paszlib/src/paszlib.pas
Compiling ./paszlib/src/zuncompr.pas
Compiling ./paszlib/src/zcompres.pas
[ 7%] Compiled package paszlib
Start compiling package pthreads for target loongarch64-linux.
Compiling pthreads/src/pthreads.pp
[ 8%] Compiled package pthreads
Start compiling package fcl-base for target loongarch64-linux.
Compiling fcl-base/units/loongarch64-linux/BuildUnit_fcl_base.pp
Compiling ./fcl-base/src/dirwatch.pp
Compiling ./fcl-base/src/basenenc.pp
Compiling ./fcl-base/src/fpthreadpool.pp
Compiling ./fcl-base/src/syncobjs.pp
Compiling ./fcl-base/src/advancedsingleinstance.pas
Compiling ./fcl-base/src/advancedipc.pp
Compiling ./fcl-base/src/singleinstance.pp
Compiling ./fcl-base/src/csvdocument.pp
Compiling ./fcl-base/src/contnrs.pp
Compiling ./fcl-base/src/csvreadwrite.pp
Compiling ./fcl-base/src/bufstream.pp
Compiling ./fcl-base/src/fpexprpars.pp
Compiling ./fcl-base/src/wtex.pp
Compiling ./fcl-base/src/wformat.pp
Compiling ./fcl-base/src/whtml.pp
Compiling ./fcl-base/src/uriparser.pp
Compiling ./fcl-base/src/fptemplate.pp
Compiling ./fcl-base/src/streamio.pp
Compiling ./fcl-base/src/streamex.pp
Compiling ./fcl-base/src/streamcoll.pp
Compiling ./fcl-base/src/rttiutils.pp
Compiling ./fcl-base/src/rtfpars.pp
Compiling ./fcl-base/src/pooledmm.pp
Compiling ./fcl-base/src/maskutils.pp
Compiling ./fcl-base/src/nullstream.pp
Compiling ./fcl-base/src/lzwstream.pp
Compiling ./fcl-base/src/chainstream.pp
Compiling ./fcl-base/src/iostream.pp
Compiling ./fcl-base/src/inicol.pp
Compiling ./fcl-base/src/inifiles.pp
Compiling ./fcl-base/src/idea.pp
Compiling ./fcl-base/src/gettext.pp
Compiling ./fcl-base/src/fptimer.pp
Compiling ./fcl-base/src/eventlog.pp
Compiling ./fcl-base/src/custapp.pp
Compiling ./fcl-base/src/cachecls.pp
Compiling ./fcl-base/src/blowfish2.pp
Compiling ./fcl-base/src/blowfish.pp
Compiling ./fcl-base/src/fpobserver.pp
Compiling ./fcl-base/src/pascodegen.pp
Compiling ./fcl-base/src/base64.pp
Compiling ./fcl-base/src/avl_tree.pp
Compiling ./fcl-base/src/ascii85.pp
[ 9%] Compiled package fcl-base
Start compiling package fcl-image for target loongarch64-linux.
Compiling fcl-image/units/loongarch64-linux/BuildUnit_fcl_image.pp
Compiling ./fcl-image/src/fppapers.pas
Compiling ./fcl-image/src/fpimage.pp
Compiling ./fcl-image/src/fpunitofmeasure.pas
Compiling ./fcl-image/src/fpcolorspace.pas
Compiling ./fcl-image/src/fpwriteqoi.pas
Compiling ./fcl-image/src/qoicomn.pas
Compiling ./fcl-image/src/fpreadqoi.pas
Compiling ./fcl-image/src/fpimgqrcode.pp
Compiling ./fcl-image/src/fpqrcodegen.pp
Compiling ./fcl-image/src/fpimgbarcode.pp
Compiling ./fcl-image/src/fpcanvas.pp
Compiling ./fcl-image/src/fpbarcode.pp
Compiling ./fcl-image/src/fpimgcanv.pp
Compiling ./fcl-image/src/fpimggauss.pp
Compiling ./fcl-image/src/pscanvas.pp
Compiling ./fcl-image/src/ftfont.pp
Compiling ./fcl-image/src/fpimgcmn.pp
Compiling ./fcl-image/src/freetypehdyn.pp
Compiling ./fcl-image/src/freetype.pp
Compiling ./fcl-image/src/freetypeh.pp
Compiling ./fcl-image/src/fpwritexpm.pp
Compiling ./fcl-image/src/fpwritetiff.pas
Compiling ./fcl-image/src/fptiffcmn.pas
Compiling ./fcl-image/src/fpwritetga.pp
Compiling ./fcl-image/src/targacmn.pp
Compiling ./fcl-image/src/fpwritepnm.pp
Compiling ./fcl-image/src/fpwritepng.pp
Compiling ./fcl-image/src/pngcomn.pp
Compiling ./fcl-image/src/fpwritepcx.pas
Compiling ./fcl-image/src/pcxcomn.pas
Compiling ./fcl-image/src/fpwritejpeg.pas
Compiling ./fcl-image/src/jpegcomn.pas
Compiling ./fcl-image/src/fpwritebmp.pp
Compiling ./fcl-image/src/bmpcomn.pp
Compiling ./fcl-image/src/fpreadxwd.pas
Compiling ./fcl-image/src/xwdfile.pp
Compiling ./fcl-image/src/fpreadpsd.pas
Compiling ./fcl-image/src/psdcomn.pas
Compiling ./fcl-image/src/fpreadgif.pas
Compiling ./fcl-image/src/fpreadxpm.pp
Compiling ./fcl-image/src/fpreadtiff.pas
Compiling ./fcl-image/src/fpreadtga.pp
Compiling ./fcl-image/src/fpreadpnm.pp
Compiling ./fcl-image/src/fpreadpng.pp
Compiling ./fcl-image/src/fpreadpcx.pas
Compiling ./fcl-image/src/fpreadjpeg.pas
Compiling ./fcl-image/src/fpreadbmp.pp
Compiling ./fcl-image/src/fpquantizer.pas
Compiling ./fcl-image/src/fpcolhash.pas
Compiling ./fcl-image/src/fppixlcanv.pp
Compiling ./fcl-image/src/pixtools.pp
Compiling ./fcl-image/src/ellipses.pp
Compiling ./fcl-image/src/polygonfilltools.pp
Compiling ./fcl-image/src/clipping.pp
Compiling ./fcl-image/src/fpditherer.pas
Compiling ./fcl-image/src/extinterpolation.pp
[ 9%] Compiled package fcl-image
Start compiling package cairo for target loongarch64-linux.
Compiling cairo/units/loongarch64-linux/BuildUnit_cairo.pp
Compiling ./cairo/src/cairoxlib.pp
Compiling ./cairo/src/cairo.pp
Compiling ./cairo/src/cairoft.pp
Compiling ./cairo/src/cairogobject.pp
[ 10%] Compiled package cairo
Start compiling package cdrom for target loongarch64-linux.
Compiling cdrom/units/loongarch64-linux/BuildUnit_cdrom.pp
Compiling ./cdrom/src/fpcddb.pp
Compiling ./cdrom/src/discid.pp
Compiling ./cdrom/src/cdrom.pp
Compiling ./cdrom/src/lincd.pp
Compiling ./cdrom/src/major.pp
[ 10%] Compiled package cdrom
Start compiling package iconvenc for target loongarch64-linux.
Compiling iconvenc/units/loongarch64-linux/BuildUnit_iconvenc.pp
Compiling ./iconvenc/src/iconvenc_dyn.pas
Compiling ./iconvenc/src/iconvenc.pas
[ 11%] Compiled package iconvenc
Start compiling package fcl-xml for target loongarch64-linux.
Compiling fcl-xml/units/loongarch64-linux/BuildUnit_fcl_xml.pp
Compiling ./fcl-xml/src/xmliconv.pas
Compiling ./fcl-xml/src/xmlread.pp
Compiling ./fcl-xml/src/sax_xml.pp
Compiling ./fcl-xml/src/sax.pp
Compiling ./fcl-xml/src/xpath.pp
Compiling ./fcl-xml/src/dom.pp
Compiling ./fcl-xml/src/xmlstreaming.pp
Compiling ./fcl-xml/src/xmlconf.pp
Compiling ./fcl-xml/src/xmlcfg.pp
Compiling ./fcl-xml/src/xmlwrite.pp
Compiling ./fcl-xml/src/xmltextreader.pp
Compiling ./fcl-xml/src/xmlutils.pp
Compiling ./fcl-xml/src/xmlreader.pp
Compiling ./fcl-xml/src/dtdmodel.pp
Compiling ./fcl-xml/src/htmldefs.pp
Compiling ./fcl-xml/src/xhtml.pp
Compiling ./fcl-xml/src/dom_html.pp
Compiling ./fcl-xml/src/sax_html.pp
Compiling ./fcl-xml/src/htmwrite.pp
Compiling ./fcl-xml/src/htmlwriter.pp
Compiling ./fcl-xml/src/htmlelements.pp
[ 11%] Compiled package fcl-xml
Start compiling package rtl-generics for target loongarch64-linux.
Compiling rtl-generics/units/loongarch64-linux/BuildUnit_rtl_generics.pp
Compiling ./rtl-generics/src/generics.collections.pas
Compiling ./rtl-generics/src/generics.memoryexpanders.pas
Compiling ./rtl-generics/src/generics.defaults.pas
Compiling ./rtl-generics/src/generics.hashes.pas
Compiling ./rtl-generics/src/generics.strings.pas
Compiling ./rtl-generics/src/generics.helpers.pas
[ 12%] Compiled package rtl-generics
Start compiling package chm for target loongarch64-linux.
Compiling chm/units/loongarch64-linux/BuildUnit_chm.pp
Compiling ./chm/src/itolitlsreader.pas
Compiling ./chm/src/chmreader.pas
Compiling ./chm/src/itsftransform.pas
Compiling ./chm/src/paslzx.pas
Compiling ./chm/src/itolitlstypes.pas
Compiling ./chm/src/chmbase.pas
Compiling ./chm/src/lzxcompressthread.pas
Compiling ./chm/src/paslzxcomp.pas
Compiling ./chm/src/chmsitemap.pas
Compiling ./chm/src/fasthtmlparser.pas
Compiling ./chm/src/htmlutil.pas
Compiling ./chm/src/chmfiftimain.pas
Compiling ./chm/src/chmfilewriter.pas
Compiling ./chm/src/chmwriter.pas
Compiling ./chm/src/chmtypes.pas
Compiling ./chm/src/chmspecialfiles.pas
Compiling ./chm/src/htmlindexer.pas
Compiling ./chm/src/paslznonslide.pas
Compiling chm/src/chmls.lpr
Linking chm/bin/loongarch64-linux/chmls
The installer encountered the following error:
External command "/home/muller/pas/fpc-3.3.1/bin/ppcloongarch64 -Tlinux -FEchm/bin/loongarch64-linux -FUchm/units/loongarch64-linux/ -Fu/home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-xml/units/loongarch64-linux/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-base/units/loongarch64-linux/ -Fu/home/muller/pas/gitlab-fpc-source/packages/rtl-objpas/units/loongarch64-linux/ -Fu/home/muller/pas/gitlab-fpc-source/packages/pthreads/units/loongarch64-linux/ -Fu/home/muller/pas/gitlab-fpc-source/packages/iconvenc/units/loongarch64-linux/ -Fu/home/muller/pas/gitlab-fpc-source/packages/rtl-generics/units/loongarch64-linux/ -Fuchm/src -Fichm/src -Ploongarch64 -XPloongarch64-linux- -dloongarch64 -XR/home/muller/sys-root/loongarch64-linux -n -dFPC_USE_LIBC -vx -Fl/home/muller/sys-root/loongarch64-linux/usr/lib -k-rpath=/usr/lib -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64 -k-rpath=/usr/lib64 -Fl/home/muller/sys-root/loongarch64-linux/lib -k-rpath=/lib -Fl/home/muller/sys-root/loongarch64-linux/lib64 -k-rpath=/lib64 -Fl/home/muller/sys-root/loongarch64-linux/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Xd -k--sysroot=/home/muller/sys-root/loongarch64-linux -dXr_disabled -Sc -viq chm/src/chmls.lpr" failed with exit code 256. Console output:
Target OS: Linux for LoongArch64
Compiling chm/src/chmls.lpr
Assembling chmls
Executing "/home/muller/bin/loongarch64-linux-as" with command line "-o chm/units/loongarch64-linux/chmls.o -mabi=lp64d chm/units/loongarch64-linux/chmls.s"
Linking chm/bin/loongarch64-linux/chmls
Executing "/home/muller/bin/loongarch64-linux-ld" with command line " -rpath=/usr/lib -rpath=/usr/lib64 -rpath=/lib -rpath=/lib64 -rpath=/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -rpath=/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -rpath=/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -rpath=/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 --sysroot=/home/muller/sys-root/loongarch64-linux --dynamic-linker=/lib64/ld-linux-loongarch-lp64d.so.1 -L. -o chm/bin/loongarch64-linux/chmls -T chm/bin/loongarch64-linux/link1711629.res -e _start"
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/system.o: in function `.Lc142':
system.pp: undefined reference to `__fxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/system.o: in function `.Lc150':
system.pp: undefined reference to `__lxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/system.o: in function `.Lc158':
system.pp: undefined reference to `__xstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/system.o: in function `.Lc182':
system.pp: undefined reference to `__fxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/system.o: in function `.Lc9320':
system.pp: undefined reference to `__xstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/system.o: in function `.Lc9384':
system.pp: undefined reference to `__fxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/sysutils.o: in function `.Lc16034':
sysutils.pp: undefined reference to `__fxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/sysutils.o: in function `.Lc16252':
sysutils.pp: undefined reference to `__fxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/baseunix.o: in function `.Lc224':
baseunix.pp: undefined reference to `__fxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/baseunix.o: in function `.Lc232':
baseunix.pp: undefined reference to `__lxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/baseunix.o: in function `.Lc240':
baseunix.pp: undefined reference to `__xstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/baseunix.o: in function `.Lc376':
baseunix.pp: undefined reference to `__lxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/baseunix.o: in function `.Lc400':
baseunix.pp: undefined reference to `__fxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/baseunix.o: in function `.Lc408':
baseunix.pp: undefined reference to `__fxstat'
/home/muller/bin/loongarch64-linux-ld: /home/muller/pas/gitlab-fpc-source/rtl/units/loongarch64-linux/baseunix.o: in function `.Lc504':
baseunix.pp: undefined reference to `__xstat'
Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
$000000000056CA2C ERROR, line 6831 of src/fpmkunit.pp
$000000000056CD98 EXECUTECOMMAND, line 6866 of src/fpmkunit.pp
$0000000000574618 COMPILE, line 8386 of src/fpmkunit.pp
$0000000000574C74 MAYBECOMPILE, line 8459 of src/fpmkunit.pp
$00000000005768A4 PROCESSCOMPILETARGET, line 8767 of src/fpmkunit.pp
$000000000057624C COMPILE, line 8874 of src/fpmkunit.pp
$0000000000577494 MAYBECOMPILE, line 8928 of src/fpmkunit.pp
$000000000057A718 COMPILE, line 9601 of src/fpmkunit.pp
$000000000056B344 COMPILE, line 6528 of src/fpmkunit.pp
$000000000056BA50 RUN, line 6640 of src/fpmkunit.pp
$0000000000476724 main, line 60 of fpmake.pp
$0000FFFF496A229C
$0056FFFF496A237C
gmake: *** [Makefile:2021: all] Error 1
gmake: Leaving directory '/home/muller/pas/gitlab-fpc-source/packages'
Testing compilation in packages for loongarch64-linux-using-libc, with CROSSOPT="-XR/home/muller/sys-root/loongarch64-linux -n -dFPC_USE_LIBC -vx -Fl/home/muller/sys-root/loongarch64-linux/usr/lib -k-rpath=/usr/lib -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64 -k-rpath=/usr/lib64 -Fl/home/muller/sys-root/loongarch64-linux/lib -k-rpath=/lib -Fl/home/muller/sys-root/loongarch64-linux/lib64 -k-rpath=/lib64 -Fl/home/muller/sys-root/loongarch64-linux/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/usr/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/usr/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/lib/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Fl/home/muller/sys-root/loongarch64-linux/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -k-rpath=/lib64/gcc/loongarch64-unknown-linux-gnu/12.2.1 -Xd -k--sysroot=/home/muller/sys-root/loongarch64-linux -dXr_disabled" with BUILDFULLNATIVE=1 FPC=/home/muller/pas/fpc-3.3.1/bin/ppcloongarch64 BINUTILSPREFIX=loongarch64-linux- (GNU assembler (GNU Binutils) 2.42 using rtl/linux) failed, res=2