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: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>
- To: Steve Ellcey <sellcey at marvell dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Mon, 15 Jul 2019 10:33:47 +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=arm.com;dmarc=pass action=none header.from=arm.com;dkim=pass header.d=arm.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=5nHY982ObR+aNOpiGMa1BMCV9UVhKCcACGEWh65Qwm8=; b=SWy4iHvI3tybkAP7yheVkPxErE4NofoBNNKjwwYOKfpcOnHn63HP6lWOwuA6svbwgGOy2gwasIX3l3akboKA7hyAaZ6WHfEBpIg13kWOUUBnWihCuEiUxlvo3/NuU4M9bljEK4wFgQOOb0/vSe/UO8PFBlcnS34wDAk6glzI+XD7yXV5tsHYd23QmbLgEocz6YQe1w5BDumQVulckB9a1snhAX7ddykuGfU9lLqbNbYLPkwYQdfy2UzH1tsLtKQ93ZNCNeoD6d0F9alFHyiRZD4zIVYZgszYWT6aYQGyzSK0jgpmanL2/Q63ZlA79MdbT010qhTSzbLw85ZKRAZHpQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c0WbBnwZk75mfEYfamFOAFZ4frYHRVhTbGrCPwSMHz7FrPTWs/8M1dKmzm7zRcPnGNJ97rZPt4AzZUeseHP8Y1ULeS4S0GsfnF9XkTuClIMOBBtr8dz5eESxH7E06BnNjMdgnKg2FL4PUlduugy4825F6ko3EjPXQRTirhD/JTWExW2l1++EMdfgJe1fVQcGtYuuRpBOPOCu2Yj1wzxGX0REZ5j9Zwa/CsaNpXCnulS/LBhiVCcC0T7u/OCzcJR1unE0WbMVzl7SmgQnYZ35Qh5YpxIL/RnPU+a+Xff02YhZeeiO2bnagw5ehqS3+KoUTZCibiPUiNf3N7jFGT+ymA==
- References: <0ae3af1b-cb2b-367f-8b86-f39971498291@arm.com> <94ae3162364c3d011de1485e04321da0dd359f66.camel@marvell.com>
On 12/07/2019 22:51, Steve Ellcey wrote:
> 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.
you are right, i think
libmvec-static-only-routines = non-existing-routine
in that Makefile would fix it: creates an empty libmvec_nonshared.a.
i made this change and put the patches on the nsz/mathvec branch.