Skip to content
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

armv7-lts: gnu/stubs-hard.h: No such file or directory #718

Closed
gotson opened this issue Aug 15, 2022 · 3 comments
Closed

armv7-lts: gnu/stubs-hard.h: No such file or directory #718

gotson opened this issue Aug 15, 2022 · 3 comments
Labels

Comments

@gotson
Copy link

gotson commented Aug 15, 2022

I'm trying to use dockcross/linux-armv7-lts but i get the following error:

In file included from /usr/xcc/armv7-unknown-linux-gnueabi/armv7-unknown-linux-gnueabi/sysroot/usr/include/features.h:452,
                 from /usr/xcc/armv7-unknown-linux-gnueabi/armv7-unknown-linux-gnueabi/sysroot/usr/include/bits/libc-header-start.h:33,
                 from /usr/xcc/armv7-unknown-linux-gnueabi/armv7-unknown-linux-gnueabi/sysroot/usr/include/stdio.h:27,
                 from target/sqlite-3.39.2-Linux-armv7/sqlite3.c:14044:
/usr/xcc/armv7-unknown-linux-gnueabi/armv7-unknown-linux-gnueabi/sysroot/usr/include/gnu/stubs.h:10:11: fatal error: gnu/stubs-hard.h: No such file or directory
 # include <gnu/stubs-hard.h>
           ^~~~~~~~~~~~~~~~~~
compilation terminated.

I checked in the docker image, the file /usr/xcc/armv7-unknown-linux-gnueabi/armv7-unknown-linux-gnueabi/sysroot/usr/include/gnu/stubs-hard.h is not there:

[root:/usr … ux-gnueabi/armv7-unknown-linux-gnueabi/sysroot/usr/include/gnu] # ls -al
total 28
dr-xr-xr-x  2 root root 4096 Jul  7 04:17 .
dr-xr-xr-x 33 root root 4096 Jul  7 04:37 ..
-r--r--r--  1 root root 1653 Jul  7 04:17 lib-names-soft.h
-r--r--r--  1 root root  374 Jul  7 04:17 lib-names.h
-r--r--r--  1 root root 1263 Jul  7 04:17 libc-version.h
-r--r--r--  1 root root  742 Jul  7 04:17 stubs-soft.h
-r--r--r--  1 root root  295 Jul  7 04:17 stubs.h

Not sure if that's expected or something missing?

@github-actions
Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Dec 13, 2022
@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2023
@cswendrowski
Copy link

cswendrowski commented Mar 20, 2023

This issue is blocking builds of classic-level using older GLIBC versions for armv7, resulting in loss of compatibility on Pi 2 Model B v1.1 among other armv7 targets: Level/classic-level#69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants