[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1026968: marked as done (gcc-12: fix support for loong64)



Your message dated Mon, 2 Jan 2023 14:11:33 +0100
with message-id <2a069fa0-ac5c-adc0-fa1a-7a909f612d82@ubuntu.com>
and subject line Re: gcc-12: fix support for loong64
has caused the Debian Bug report #1026968,
regarding gcc-12: fix support for loong64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1026968: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026968
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-12
Version: 12.2.0-10
Severity: wishlist

Dear Maintainer,

  In #1023785, the patch is now no longer suitable

  1.It should be modified as follow.

--- a/src/gcc/config/loongarch/t-linux
+++ b/src/gcc/config/loongarch/t-linux
@@ -32,22 +32,19 @@ ifneq ($(call if_multiarch,yes),yes)
 else
     # Only define MULTIARCH_DIRNAME when multiarch is enabled,
     # or it would always introduce ${target} into the search path.
-    MULTIARCH_DIRNAME = $(LA_MULTIARCH_TRIPLET)
+    MULTIARCH_DIRNAME = $(call if_multiarch,loongarch64-linux-gnuf64)
 endif

 # Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
 ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)

     MULTILIB_OSDIRNAMES = \
-      mabi.lp64d=../lib64$\
-      $(call if_multiarch,:loongarch64-linux-gnuf64)
+      mabi.lp64d=../lib$(call if_multiarch,:loongarch64-linux-gnuf64)

     MULTILIB_OSDIRNAMES += \
-      mabi.lp64f=../lib64/f32$\
-      $(call if_multiarch,:loongarch64-linux-gnuf32)
+      mabi.lp64f=../lib$(call if_multiarch,:loongarch64-linux-gnuf32)

     MULTILIB_OSDIRNAMES += \
-      mabi.lp64s=../lib64/sf$\
-      $(call if_multiarch,:loongarch64-linux-gnusf)
+      mabi.lp64s=../lib$(call if_multiarch,:loongarch64-linux-gnusf)
 endif


    2. gcc didn't enable with_pie, It should add loong64
    https://salsa.debian.org/toolchain-team/gcc/-/blob/gcc-12-debian/debian/rules.defs#L1434-L1438

--- End Message ---
--- Begin Message --- Closing, if something still needs fixing, please attach a patch, don't inline changes.
--- End Message ---

Reply to: