This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc 8.1 + libc.a
- From: "Jost, Gabriele (ARC-TNC)[Supersmith] via gcc" <gcc at gcc dot gnu dot org>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Cc: "Jost, Gabriele (ARC-TNC)[Supersmith]" <gabriele dot jost at nasa dot gov>
- Date: Wed, 3 Oct 2018 23:31:43 +0000
- Subject: gcc 8.1 + libc.a
- Dkim-filter: OpenDKIM Filter v2.11.0 ndjsvnpf104.ndc.nasa.gov 10345413F5AF
- Reply-to: "Jost, Gabriele (ARC-TNC)[Supersmith]" <gabriele dot jost at nasa dot gov>
Hello,
I have successfully installed gcc 8.1 on one system. I had to build the accelerator on the front end, because the compute nodes did not have libc.a.
The build process seems to require a libc.a.
I am now struggling with trying to install it on a different system: Same concept, front end has libc.a, compute nodes don’t. But now I can’t even build the build the accelerator compiler, because of of the missing libc.a. But it lives in /usr/lib64, just like on the other system. Would you have any advise how I can get around this? Thanks in advance,
Gabriele
configure:3016: /nobackup/gcc_nvptx/gcc/build-accel/./gcc/xgcc -B/nobackup//gcc_nvptx/gcc/build-accel/./gcc/ -B/nobackup/gcc-8.1.0-install/nvptx-none/bin/ -B/nobackup/gcc-8.1.0-install/nvptx-none/lib/ -isystem /nobackup/gcc-8.1.0-install/nvptx-none/include -isystem /nobackup/gcc-8.1.0-install/nvptx-none/sys-include -g -O2 conftest.c -lc >&5
error opening libc.a
collect2: error: ld returned 1 exit status
configure:3020: $? = 1
configure:3057: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "package-unused"
| #define PACKAGE_TARNAME "libbacktrace"
| #define PACKAGE_VERSION "version-unused"
| #define PACKAGE_STRING "package-unused version-unused"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }