Hello László

unfortunately I would like to bootstrap llvm-toolchain-15 on riscv64, because 
we have a chicken and egg situation
with opencl-clang-15 and spirv-llvm-translator-15, so uploading to sid a 
version that can build, or disable tests will allow
us to finish the llvm-toolchain-15 bootstrap there.

I can have a look at experimental, but for sure it will take more time.
(If it breaks when you upload experimental to sid, its also fine, because spirv 
will be bootstrapped already in archive).

G.


On Mon, 28 Nov 2022 07:05:09 +0100 
=?UTF-8?B?TMOhc3psw7MgQsO2c3rDtnJtw6lueWkgKEdDUyk=?= <g...@debian.org> wrote:
Hi Gianfranco, Benjamin,

On Thu, Nov 24, 2022 at 9:21 AM Gianfranco Costamagna
<locutusofb...@debian.org> wrote:
> ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc))
>    export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic 
-Wl,--as-needed
> endif
>
> I didn't check but maybe adding some port architectures to this list is 
sufficient to fix this issue.
 I see that grpc 1.30.2 needs to link with atomic on riscv64. Please
note, soon I will ask for the transition of grpc to the 1.51.0
version. It will _not_ build on this architecture. Reason is, abseil
which is a build dependency fails to build on it. Seems the build gets
confused and thinks riscv64 is an Intel/AMD clone. Failing snippet
from absl/debugging/symbolize_test.cc:
#if defined(__i386__)
 __asm__ __volatile__ [...]
#elif defined(__x86_64__)
 __asm__ __volatile__ [...] <-- failing here
#endif

If you have time, please look into this. Sure, grpc 1.51.0 may still
need to link with atomic, but first we need to get abseil work on
riscv64.

Regards,
Laszlo/GCS


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to