[Bug 233413] lld does not accept -format arg used by lazarus build system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 22 21:50:32 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233413

Jose Alonso Cardenas Marquez <acm at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #3 from Jose Alonso Cardenas Marquez <acm at 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.


More information about the freebsd-bugs mailing list