Jeffrey Walton <[email protected]> writes: > The Gnulib folks suggested this should go to libtasn1 developers. > > I can also duplicate this problem on an older Intel Mac-mini, so it is > not limited to M1 hardware. > > Maybe it is time to build a new release tarball with the latest Gnulib.
Thanks for the report -- can you try a current snapshot, like this one: https://gitlab.com/gnutls/libtasn1/-/jobs/1246834459/artifacts/browse I will try to find an account on a M1 machine and see if I can reproduce any problems. /Simon > Jeff > > ---------- Forwarded message --------- > From: Jeffrey Walton <[email protected]> > Date: Tue, Mar 23, 2021 at 4:02 PM > Subject: Missing c_isdigit with Asan and UBsan builds > To: [email protected] List <[email protected]> > > Hi Everyone, > > I'm building libtasn1-4.16.0 on an Apple M1. I'm testing under Asan > and UBsan due to a couple of failed self tests. Both Asan and UBsan > libtasn1 link is failing with: > > Undefined symbols for architecture arm64: > "_c_isdigit", referenced from: > __asn1_expand_object_id in parser_aux.o > __asn1_check_identifier in parser_aux.o > > When I inspect libgnu.a I don't see any symbols. (This may be the > wrong use of the tool): > > # Capital letter "i", not lower "L" > % otool -I libtasn1-4.16.0/lib/gl/.libs/libgnu.a > Archive : libtasn1-4.16.0/lib/gl/.libs/libgnu.a > libtasn1-4.16.0/lib/gl/.libs/libgnu.a(c-ctype.o): > libtasn1-4.16.0/lib/gl/.libs/libgnu.a(strverscmp.o): > > % otool -G libtasn1-4.16.0/lib/gl/.libs/libgnu.a > Archive : libtasn1-4.16.0/lib/gl/.libs/libgnu.a > libtasn1-4.16.0/lib/gl/.libs/libgnu.a(c-ctype.o): > Data in code table (0 entries) > offset length kind > libtasn1-4.16.0/lib/gl/.libs/libgnu.a(strverscmp.o): > Data in code table (0 entries) > offset length kind > > Here is the link command: > > libtool: link: mv -f ".libs/libtasn1.expT" ".libs/libtasn1.exp" > libtool: link: sed 's|^|_|' < .libs/libtasn1.exp > > .libs/libtasn1-symbols.expsym > libtool: link: /usr/bin/cc -dynamiclib -o .libs/libtasn1.6.dylib > .libs/ASN1.o .libs/coding.o .libs/decoding.o .libs/element.o > .libs/errors.o .libs/gstr.o .libs/parser_aux.o .libs/structure.o > .libs/version.o -Wl,-force_load,gl/.libs/libgnu.a > -L/Users/jwalton/ok2delete-asan/lib -ldl -lpthread -g3 -O1 > -fsanitize=address -arch arm64 -pthread -fsanitize=address -Wl,-rpath > -Wl,@loader_path/../lib -Wl,-rpath > -Wl,/Users/jwalton/ok2delete-asan/lib -pthread -install_name > /Users/jwalton/ok2delete-asan/lib/libtasn1.6.dylib > -compatibility_version 13 -current_version 13.0 -Wl,-single_module > -Wl,-exported_symbols_list,.libs/libtasn1-symbols.expsym > > Does anyone see what I might be doing wrong? > > Thanks. > >
signature.asc
Description: PGP signature
