NetBSD-Bugs archive

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

Re: port-sparc64/58975: sparc64 compat32 libc missing symbols



The following reply was made to PR port-sparc64/58975; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-sparc64/58975: sparc64 compat32 libc missing symbols
Date: Wed, 8 Jan 2025 16:27:23 +0300

 With tooldir compilers:
 
 $ sparc--netbsdelf-gcc-12.4.0     -dM -E - < /dev/null | sort > sparc-32-32.def
 $ sparc64--netbsd-gcc-12.4.0 -m32 -dM -E - < /dev/null | sort > sparc-32-64.def
 $ diff -u sparc-32-32.def sparc-32-64.def
 --- sparc-32-32.def	2025-01-08 16:23:43.585411956 +0300
 +++ sparc-32-64.def	2025-01-08 16:24:06.071632943 +0300
 @@ -97,18 +97,21 @@
  #define __FLT_MIN__ 1.1754943508222875e-38F
  #define __FLT_NORM_MAX__ 3.4028234663852886e+38F
  #define __FLT_RADIX__ 2
 -#define __GCC_ATOMIC_BOOL_LOCK_FREE 1
 -#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1
 -#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 1
 -#define __GCC_ATOMIC_CHAR_LOCK_FREE 1
 -#define __GCC_ATOMIC_INT_LOCK_FREE 1
 +#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
 +#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
 +#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
 +#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
 +#define __GCC_ATOMIC_INT_LOCK_FREE 2
  #define __GCC_ATOMIC_LLONG_LOCK_FREE 1
 -#define __GCC_ATOMIC_LONG_LOCK_FREE 1
 -#define __GCC_ATOMIC_POINTER_LOCK_FREE 1
 -#define __GCC_ATOMIC_SHORT_LOCK_FREE 1
 +#define __GCC_ATOMIC_LONG_LOCK_FREE 2
 +#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
 +#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
  #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 255
 -#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 1
 +#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
  #define __GCC_HAVE_DWARF2_CFI_ASM 1
 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
 +#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
  #define __GCC_IEC_559 2
  #define __GCC_IEC_559_COMPLEX 2
  #define __GNUC_EXECUTION_CHARSET_NAME "UTF-8"
 @@ -267,6 +270,7 @@
  #define __WINT_WIDTH__ 32
  #define __sparc 1
  #define __sparc__ 1
 +#define __sparc_v9__ 1
  #define __syslog_attribute__ 1
  #define __unix__ 1
  #define sparc 1
 
 
 -uwe
 


Home | Main Index | Thread Index | Old Index