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/> References: <bug-233413-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233413 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=3Dsystem_i386_freebsd then begin - targetstr:=3D'-b elf32-i386-freebsd'; + targetstr:=3D'-b elf'; emulstr:=3D'-m elf_i386_fbsd'; end else @@ -801,12 +801,12 @@ else GCSectionsStr:=3D'-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=3Dsystem_i386_freebsd then begin - targetstr:=3D'-b elf32-i386-freebsd'; + targetstr:=3D'-b elf'; emulstr:=3D'-m elf_i386_fbsd'; end else --=20 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-233413-227-6tN6TSncwm>