On 5/20/21, scsijon <scsi...@lamiaworks.com> wrote: >
>> It is looking at libc.so.6 in the host system. EasyOS has 2.31. >> >> > and the latest rust has a minimum of 2.32 and t2 has 2.33 I removed rustc and firefox from the package list, and the build proceeded to stage-3, binutils. It failed, wants "-fPIC". I put this into binutils.conf: var_append CC_WRAPPER_INSERT " " "-fPIC" Nup, still fails, saying it wants "-fPIC": libtool: install: (cd /TOOLCHAIN/src.binutils.system.20210520.182458.8590.EASYPC6235/binutils-2.36.1/objdir/libctf; /bin/sh /TOOLCHAIN/src.binutils.system.20210520.182458.8590.EASYPC6235/binutils-2.36.1/objdir/libctf/libtool --tag CC --mode=relink gcc -std=gnu99 -Wall -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -pedantic -Wno-long-long -I../../libctf/../zlib -g -O2 -version-info 0:0:0 -Wl,--version-script=../../libctf/libctf.ver -o libctf.la -rpath /usr/lib64 libctf_la-ctf-archive.lo libctf_la-ctf-dump.lo libctf_la-ctf-create.lo libctf_la-ctf-decl.lo libctf_la-ctf-error.lo libctf_la-ctf-hash.lo libctf_la-ctf-labels.lo libctf_la-ctf-dedup.lo libctf_la-ctf-link.lo libctf_la-ctf-lookup.lo libctf_la-ctf-open.lo libctf_la-ctf-sha1.lo libctf_la-ctf-string.lo libctf_la-ctf-subr.lo libctf_la-ctf-types.lo libctf_la-ctf-util.lo libctf_la-ctf-open-bfd.lo ../bfd/libbfd.la -L/TOOLCHAIN/src.binutils.system.20210520.182458.8590.EASYPC6235/binutils-2.36.1/objdir/libctf/../libiberty/pic -liberty -L./../zlib -lz -ldl ) libtool: relink: gcc -shared -fPIC -DPIC .libs/libctf_la-ctf-archive.o .libs/libctf_la-ctf-dump.o .libs/libctf_la-ctf-create.o .libs/libctf_la-ctf-decl.o .libs/libctf_la-ctf-error.o .libs/libctf_la-ctf-hash.o .libs/libctf_la-ctf-labels.o .libs/libctf_la-ctf-dedup.o .libs/libctf_la-ctf-link.o .libs/libctf_la-ctf-lookup.o .libs/libctf_la-ctf-open.o .libs/libctf_la-ctf-sha1.o .libs/libctf_la-ctf-string.o .libs/libctf_la-ctf-subr.o .libs/libctf_la-ctf-types.o .libs/libctf_la-ctf-util.o .libs/libctf_la-ctf-open-bfd.o -L/usr/lib64 -lbfd -L/TOOLCHAIN/src.binutils.system.20210520.182458.8590.EASYPC6235/binutils-2.36.1/objdir/bfd/../libiberty/pic -L/TOOLCHAIN/src.binutils.system.20210520.182458.8590.EASYPC6235/binutils-2.36.1/objdir/zlib -L/TOOLCHAIN/src.binutils.system.20210520.182458.8590.EASYPC6235/binutils-2.36.1/objdir/libctf/../libiberty/pic -liberty -lz -ldl -Wl,--version-script=../../libctf/libctf.ver -Wl,-soname -Wl,libctf.so.0 -o .libs/libctf.so.0.0.0 /usr/lib64/gcc/x86_64-t2-linux-gnu/11.1.0/../../../../x86_64-t2-linux-gnu/bin/ld: /usr/lib64/libiberty.a(sha1.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status Reckon that's enough for me. It probably builds fine on a T2 host. ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to li...@t2-project.org with a subject of: unsubscribe t2