-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARCv2 relocation failure #573
Comments
There are a number of
All the above with the exception of One of the errors is seen bellow:
The |
A reduced test case: #include <stddef.h>
#include <stdio.h>
# define weak_function __attribute__ ((weak))
void __pthread_initialize_minimal (void) weak_function;
extern void abort (void);
int main (void)
{
if (stderr == NULL)
abort ();
if (__pthread_initialize_minimal != NULL)
__pthread_initialize_minimal ();
return 0;
} |
While testing QEMU FPUv2 a GLibC test (test-fpucw-static) that didn't fail a few months ago, started failing with the most recent toolchain.
The issue seems to be because a relocation isn't completed with success.
The invocation line found by running
make test t=math/test-fpucw-static
inside glibc-build folder is:We can see with
arc-linux-gnu-objdump -d -r
that in libc.a the relocation is supposed to beLinking seems to fail as the final binary has:
The symbol in question here is:
And the problematic usage:
Attachment:
comp.1.zip
comp.2.zip
The text was updated successfully, but these errors were encountered: