This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC PATCH 1/2] Aarch64: Add simd exp/expf ABI symbols
- From: Steve Ellcey <sellcey at marvell dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, "Szabolcs dot Nagy at arm dot com" <Szabolcs dot Nagy at arm dot com>
- Cc: "nd at arm dot com" <nd at arm dot com>
- Date: Fri, 12 Jul 2019 21:51:58 +0000
- Subject: Re: [RFC PATCH 1/2] Aarch64: Add simd exp/expf ABI symbols
- Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=smEPO2QUZ9q3M+WuDHuJ8y5T0Gws7CM91tAlNUAcWqI=; b=JgUSgnyjZXDaF6KX2J1z7aNhxyGGVegaeiKx76ETm/5B9gSEyvkNZPhdxYZXtpE9LjYvBqZ0aUHXT4EoCoOQ28pClintJ2MDINZdG4WylolqYDPaVQ4NJYGwnPtk3vNYiTdGUH186NwVJs4T3xC7GDqflR+YNgSl2h5wjCvFiv/K6oeVi6mX49zyi5Tscz3h7r+yNDKvpLLT+Gl7CAYLANbZLzg76AGqoMijPk4jysvKNoyRp7GqfAU2kGMJqjSe/d/1eUezQ/zclV9+41NiyjTAxxNQhkSn1WrCvJrXENi8WNqN+hrNpq787fZXOFV9hib1oKBpcIIOz5mVeFufUg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nAtKCj7aruVUjYCZssyp2xXXcklnAPsRMMjvetyJNXpb7RX5d31SiYz60VRVB3L28saLLs+yQF9/M7zxhcW5ntOi/yoaXiFOagYk495DkbLhioXq6ucdt3iDIyOpmhVvUbgcq/woPO83Tl9YEIp0JLglJmxDJhH0aEyv1aJ85WajIn8KTQ97Rd5iTFKJv8TEd6DLl1JKA6MlWfb7GalslIUel5eKunERMoEIzs/u/9UFRoBniT4PXTgarOdn1ZO/NxU2AsqUk0GS5JlHyTkAOFTdmSCBi1lTll6Jt7uY6jofxME/957CmmChtM5U4JxIp+dQd9VtHbwTtdNFu263gg==
- References: <0ae3af1b-cb2b-367f-8b86-f39971498291@arm.com>
Szabolcs,
I applied your patches (1 and 2) to a glibc tree and tried doing a full
build (built ToT binutils, then partial ToT GCC, then ToT glibc with
your patches, then full GCC) and I got an error when building the final
GCC:
/extra/sellcey/gcc-vect/install/aarch64-linux-gnu/bin/ld: cannot find /lib/libmvec_nonshared.a inside /extra/sellcey/gcc-vect/obj-gcc/gcc/../../install
collect2: error: ld returned 1 exit status
Makefile:1704: recipe for target 'libgfortran.la' failed
I don't see a libmvec_nonshared.a object in my build or install
directory. There are libmvec.so and libmvec.a libraries. Have you run
into this problem? You may not have hit it if you don't config GCC
with the Fortran compiler.
I think it is necessary to have some object (even if it is not used)
that is put in the libmvec-static-only-routines list of objects in
sysdeps/aarch64/fpu/Makefile in order to build libmvec_nonshared.a. If
you don't have that library the linker script fails when it cannot find
it.
Steve Ellcey
sellcey@marvell.com