I know its an experimental package, but it is something that some of us 
would like to see made into an optional spkg someday. I've been trying to 
install it on a Sage install on a small cluster, but because its GCC 4, it 
is using the GCC included with Sage. I think that is the difference with my 
local machine that is leading to the linking error, but I am not sure how 
to fix it. Below is the log file. Any ideas on what I can do either locally 
or by patching GAP3 to get this to work?

Thanks,
Travis


[gap3-04jul17] Using cached file 
/home/uqtscrim/sage/upstream/gap3-04jul17.tar.gz
[gap3-04jul17] gap3-04jul17
[gap3-04jul17] ====================================================
[gap3-04jul17] Setting up build directory for gap3-04jul17
[gap3-04jul17] Finished extraction
[gap3-04jul17] No patch files found in ../patches
[gap3-04jul17] ****************************************************
[gap3-04jul17] Host system:
[gap3-04jul17] Linux smp-comp01.smp.uq.edu.au 2.6.32-696.10.1.el6.x86_64 #1 
SMP Tue Aug 22 18:51:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[gap3-04jul17] ****************************************************
[gap3-04jul17] C compiler: gcc
[gap3-04jul17] C compiler version:
[gap3-04jul17] Using built-in specs.
[gap3-04jul17] COLLECT_GCC=gcc
[gap3-04jul17] 
COLLECT_LTO_WRAPPER=/home/uqtscrim/sage/local/libexec/gcc/x86_64-unknown-linux-gnu/5.4.0/lto-wrapper
[gap3-04jul17] Target: x86_64-unknown-linux-gnu
[gap3-04jul17] Configured with: ../src/configure 
--prefix=/home/uqtscrim/sage/local 
--with-local-prefix=/home/uqtscrim/sage/local 
--with-gmp=/home/uqtscrim/sage/local --with-mpfr=/home/uqtscrim/sage/local 
--with-mpc=/home/uqtscrim/sage/local --with-system-zlib --disable-multilib 
--disable-nls --enable-languages=c,c++,fortran --disable-libitm  
[gap3-04jul17] Thread model: posix
[gap3-04jul17] gcc version 5.4.0 (GCC) 
[gap3-04jul17] ****************************************************
[gap3-04jul17] spkg-install is using
[gap3-04jul17] VERSION = 04jul17
[gap3-04jul17] GAP3_DIR = gap-04jul17
[gap3-04jul17] INSTALL_DIR = /home/uqtscrim/sage/local/gap3/gap-04jul17/gap3
[gap3-04jul17] make[2]: Entering directory 
`/home/uqtscrim/sage/local/var/tmp/sage/build/gap3-04jul17/src/src'
[gap3-04jul17] ###########################################################
[gap3-04jul17] #  Building GAP3 for 'Linux' and '64 bit'
[gap3-04jul17] ###########################################################
[gap3-04jul17] make[3]: Entering directory 
`/home/uqtscrim/sage/local/var/tmp/sage/build/gap3-04jul17/src/src'
[gap3-04jul17] gcc -DSYS_HAS_SIGNAL_PROTO -DSYS_HAS_IOCTL_PROTO 
-DSYS_IS_LINUX -O2 -DSYS_IS_64_BIT    -c -o system.o system.c
[gap3-04jul17] make[3]: Leaving directory 
`/home/uqtscrim/sage/local/var/tmp/sage/build/gap3-04jul17/src/src'
[gap3-04jul17] make[3]: Entering directory 
`/home/uqtscrim/sage/local/var/tmp/sage/build/gap3-04jul17/src/src'
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o gap.o gap.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o gasman.o gasman.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o scanner.o scanner.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o idents.o idents.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o read.o read.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o eval.o eval.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o integer.o integer.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o rational.o rational.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o cyclotom.o cyclotom.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o unknown.o unknown.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o finfield.o finfield.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o polynom.o polynom.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o permutat.o permutat.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o word.o word.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o costab.o costab.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o tietze.o tietze.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o agcollec.o agcollec.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o aggroup.o aggroup.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o pcpresen.o pcpresen.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o list.o list.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o plist.o plist.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o set.o set.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o vector.o vector.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o vecffe.o vecffe.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o range.o range.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o blister.o blister.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o string.o string.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o record.o record.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o statemen.o statemen.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o function.o function.c
[gap3-04jul17] gcc -O -DSYS_IS_64_BIT    -c -o coding.o coding.c
[gap3-04jul17] gcc -static -o gap gap.o system.o gasman.o scanner.o 
idents.o read.o eval.o integer.o rational.o cyclotom.o unknown.o finfield.o 
polynom.o permutat.o word.o costab.o tietze.o agcollec.o aggroup.o 
pcpresen.o list.o plist.o set.o vector.o vecffe.o range.o blister.o 
string.o record.o statemen.o function.o coding.o
[gap3-04jul17] /usr/bin/ld: cannot find -lc
[gap3-04jul17] collect2: error: ld returned 1 exit status
[gap3-04jul17] make[3]: *** [gap] Error 1
[gap3-04jul17] make[3]: Leaving directory 
`/home/uqtscrim/sage/local/var/tmp/sage/build/gap3-04jul17/src/src'
[gap3-04jul17] make[2]: *** [unknown] Error 2
[gap3-04jul17] make[2]: Leaving directory 
`/home/uqtscrim/sage/local/var/tmp/sage/build/gap3-04jul17/src/src'
[gap3-04jul17] Error building gap3.


Here are some of the parts from "ld -lc --verbose"

GNU ld version 2.20.51.0.2-5.47.el6_9.1 20100205
  Supported emulations:
   elf_x86_64
   elf_i386
   i386linux
   elf_l1om
using internal linker script:
==================================================
/* Script for -z combreloc: combine and sort reloc sections */
OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
          "elf64-x86-64")
OUTPUT_ARCH(i386:x86-64)
ENTRY(_start)
SEARCH_DIR("/usr/x86_64-redhat-linux/lib64"); 
SEARCH_DIR("/usr/local/lib64"); SEARCH_DIR("/lib64"); 
SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/x86_64-redhat-linux/lib"); 
SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); 
SEARCH_DIR("/usr/lib");

....

==================================================
attempt to open /usr/x86_64-redhat-linux/lib64/libc.so failed
attempt to open /usr/x86_64-redhat-linux/lib64/libc.a failed
attempt to open /usr/local/lib64/libc.so failed
attempt to open /usr/local/lib64/libc.a failed
attempt to open /lib64/libc.so failed
attempt to open /lib64/libc.a failed
attempt to open /usr/lib64/libc.so succeeded
opened script file /usr/lib64/libc.so
opened script file /usr/lib64/libc.so
attempt to open /lib64/libc.so.6 succeeded
/lib64/libc.so.6
attempt to open /usr/lib64/libc_nonshared.a succeeded
attempt to open /lib64/ld-linux-x86-64.so.2 succeeded
/lib64/ld-linux-x86-64.so.2
ld-linux-x86-64.so.2 needed by /lib64/libc.so.6
found ld-linux-x86-64.so.2 at /lib64/ld-linux-x86-64.so.2
ld: warning: cannot find entry symbol _start; not setting start address


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to