[Bug 296] Compile Error on FreeBSD PowerPC64

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sun Jul 8 12:48:13 UTC 2018


https://bugzilla.gdcproject.org/show_bug.cgi?id=296

--- Comment #4 from Curtis <clhamilto at gmail.com> ---
Thanks for the tip.  I made the below changes to the patch to get things to
work.

@@ -3089,6 +3089,7 @@
 if [ "$target_has_targetcm" = "no" ]; then
   c_target_objs="$c_target_objs default-c.o"
   cxx_target_objs="$cxx_target_objs default-c.o"
+  d_target_objs="$d_target_objs default-d.o"
 fi

 if [ "$common_out_file" = "" ]; then
@@ -4586,6 +4587,7 @@
                out_file=rs6000/rs6000.c
                c_target_objs="${c_target_objs} rs6000-c.o"
                cxx_target_objs="${cxx_target_objs} rs6000-c.o"
+               d_target_objs="${d_target_objs} rs6000-d.o"
                tmake_file="rs6000/t-rs6000 ${tmake_file}"
                ;;


However, the library sources no longer compile like they did under GCC/GDC 5.
Correct me if I'm wrong. But it seems these sources are based on DMD2, as the
earlier code was LDC based.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the D.gnu mailing list