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

Re: Re: Adding loong architecture to dpkg



On Thu, Nov 03, 2022 at 03:50:10PM +0800, 桑猛 wrote:
> Hi:
> 
> > I think loong64 (and potentially loong32) would be both fine.
> We agree with the above point of view。
> 
> > dpkg architecture: aarch64 → arm64, x86_64 → amd64
> We want the dpkg architecture to use loong64:
> loongarch64 → loong64,loongarch32 → loong32
> 
now we have agreement on the name, should we discuss more about abi?

from gcc code, I know there are 3 abi: lp64d, lp64f, lp64s.

do we need to enable multilib? corrently only lp64d available?

 # 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)

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

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

 endif


Reply to: