Date: Thu, 22 Nov 2018 21:50:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 233413] lld does not accept -format arg used by lazarus build system Message-ID: <bug-233413-227-6tN6TSncwm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-233413-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233413 Jose Alonso Cardenas Marquez <acm@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #3 from Jose Alonso Cardenas Marquez <acm@FreeBSD.org> --- Could you apply the following patch file to lang/fpc and test again? --- compiler/systems/t_bsd.pas.orig 2018-11-22 16:45:56.427850000 -0500 +++ compiler/systems/t_bsd.pas 2018-11-22 16:46:52.149911000 -0500 @@ -652,7 +652,7 @@ if target_info.system=system_i386_freebsd then begin - targetstr:='-b elf32-i386-freebsd'; + targetstr:='-b elf'; emulstr:='-m elf_i386_fbsd'; end else @@ -801,12 +801,12 @@ else GCSectionsStr:='-dead_strip -no_dead_strip_inits_and_terms'; - { i386_freebsd needs -b elf32-i386-freebsd and -m elf_i386_fbsd + { i386_freebsd needs -b elf and -m elf_i386_fbsd to avoid creation of a i386:x86_64 arch binary } if target_info.system=system_i386_freebsd then begin - targetstr:='-b elf32-i386-freebsd'; + targetstr:='-b elf'; emulstr:='-m elf_i386_fbsd'; end else -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233413-227-6tN6TSncwm>
