[gnutls-devel] GnuTLS | accelerated: stop calling aarch64-linux-gnu-gcc -E on generated code (!2117)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Wed Jul 8 00:21:49 CEST 2026
Daiki Ueno commented on a discussion on cfg.mk: https://gitlab.com/gnutls/gnutls/-/merge_requests/2117#note_3534367035
> - echo "" >> $@.tmp.S
> - sed -i 's/OPENSSL_armcap_P/_gnutls_arm_cpuid_s/g' $@.tmp.S
> - sed -i 's/arm_arch.h/aarch64-common.h/g' $@.tmp.S
> - aarch64-linux-gnu-gcc $(CFLAGS) -D__ARM_MAX_ARCH__=8 -Ilib/accelerated/aarch64 -Wa,--noexecstack -E $@.tmp.S -o $@.tmp.s
> - cat $<.license $@.tmp.s > $@
> + cat $<.license $@.tmp > $@ && rm -f $@.tmp
> + echo "" >> $@
> echo ".section .note.GNU-stack,\"\",%progbits" >> $@
> - rm -f $@.tmp.S $@.tmp.s $@.tmp
> + sed -i 's/OPENSSL_armcap_P/_gnutls_arm_cpuid_s/g' $@
> + sed -i 's/arm_arch.h/aarch64-common.h/g' $@
>
> -lib/accelerated/aarch64/macosx/%.s: devel/perlasm/%.pl .submodule.stamp
> - rm -f $@tmp
> +lib/accelerated/aarch64/macosx/%.S: devel/perlasm/%.pl .submodule.stamp
> CC=aarch64-linux-gnu-gcc perl $< ios64 \
Indeed, I see CC is used in `x86_64-xlate.pl` but not in `arm-xlate.pl`, so I guess we can drop it altogether. I will remove it.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2117#note_3534367035
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/namespace/17175643/sent_notifications/5-983an50mojk3akp3tshwyzayb-a84t7/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260707/f277e4fc/attachment-0001.html>
More information about the Gnutls-devel
mailing list