Bug#1033049: fp-compiler-3.2.2: crtbeginS.o etc not found on mipsel (so builds fail to link)

Peter Blackman <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <3dd6e88b-9150-e18a-89ea-4fd6b312f089__49269.8415344179$1678966054$gmane$org@pblackman.plus.com>
Package: fp-compiler-3.2.2
Version: 3.2.2+dfsg-18
Severity: important
Tags: patch upstream ftbfs sid bookworm
Usertags: mipsel
Forwarded: https://gitlab.com/freepascal.org/fpc/source/-/issues/40201
X-Debbugs-Cc: [email protected]

Dear Maintainer,

    * What led up to the situation?
         Noticed c-evo-dh build failed on mipsel. Same issue with castle-game-engine.

/<<PKGBUILDDIR>>/Integrated.lpr(28,34) Warning: (9034) "crtbeginS.o" not found, this will probably cause a linking failure
/<<PKGBUILDDIR>>/Integrated.lpr(28,34) Warning: (9034) "crtendS.o" not found, this will probably cause a linking failure

The problem is caused by missing an entry for mipsel in
   packages/fpmkunit/src/fpmkunit.pp
around line 2813.

Need to add
   "mipsel:   result := GetGccDirArch('cpumipsel','');"


-- System Information:
Debian Release: bookworm/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-6-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fp-compiler-3.2.2 depends on:
ii  binutils               2.40-2
ii  debconf [debconf-2.0]  1.5.82
ii  fp-units-rtl-3.2.2     3.2.2+dfsg-18

Versions of packages fp-compiler-3.2.2 recommends:
ii  fp-utils-3.2.2  3.2.2+dfsg-18

Versions of packages fp-compiler-3.2.2 suggests:
ii  fp-docs-3.2.2  3.2.2+dfsg-18

-- debconf information excluded
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.