This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC PATCH 1/2] Aarch64: Add simd exp/expf ABI symbols


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]