Hi,
> On 17. Feb 2020, at 04:31, Jan Rovins <jrov...@verizon.net> wrote: > > Hi, > > Still having to use t2-minimal-glibc-gcc-x86-64-r49128.iso as the basis for > my chroot, the newer iso: t2-minimal-xorg-glibc-gcc-x86-64-r49198.iso was > not able to configure a t2 target, lua was having errors, I will try that > again,when I have some time, and post the errors. > > meanwhile, using r49128 as the chroot base : > > every day I try a svn update, to see if any new fixes show up, but still > mostly hitting the same issues. > > 1. mpc is still not building unless I Downgrade mpfr to the previous version. Should be fixed with updated other packages, deprecated cloog. > 2. glib stage 1 was failing with errors like: > > /opt/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/crosscc/../lib/gcc/x86_64-t2-linux-gnu/9.2.0/../../../../x86_64-t2-linux-gnu/bin/ld: > /lib64/librt.so.1: undefined reference to `__clock_settime@GLIBC_PRIVATE' > /opt/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/crosscc/../lib/gcc/x86_64-t2-linux-gnu/9.2.0/../../../../x86_64-t2-linux-gnu/bin/ld: > /lib64/librt.so.1: undefined reference to > `__clock_getcpuclockid@GLIBC_PRIVATE' > /opt/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/crosscc/../lib/gcc/x86_64-t2-linux-gnu/9.2.0/../../../../x86_64-t2-linux-gnu/bin/ld: > /lib64/librt.so.1: undefined reference to `__clock_nanosleep@GLIBC_PRIVATE' > /opt/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/crosscc/../lib/gcc/x86_64-t2-linux-gnu/9.2.0/../../../../x86_64-t2-linux-gnu/bin/ld: > /lib64/librt.so.1: undefined reference to `__clock_getres@GLIBC_PRIVATE' > > The thing that got rid of these errors was upgrading my rootfs's glibc from > 2.30 to 2.31, to match the current package version in the SDE. and then it > built OK, so there is a system dependency there. I just checked my config, > and "cross build" was not selected, hopefully if cross build is hapening, it > would be insulated from something like this, (i am going to do the rest of my > testing with crossbuild enabled) > > For this initial testing I picked a very simple generic minimal, and did not > change many values from the defaults. > Should be fixed now. > 3. libaio is installing things too deeply, it no longer needs the > line:var_append makeinstopt ' ' 'prefix=$root/$prefix libdir=$root$libdir' > > Index: package/filesystem/libaio/libaio.conf > =================================================================== > --- package/filesystem/libaio/libaio.conf (revision 49361) > +++ package/filesystem/libaio/libaio.conf (working copy) > @@ -17,4 +17,5 @@ > var_append makeopt ' ' "ARCH=$LIBAIO_ARCH" > > # no DESTDIR > -var_append makeinstopt ' ' 'prefix=$root/$prefix libdir=$root$libdir' > +# JLR: No longer needed: > +#var_append makeinstopt ' ' 'prefix=$root/$prefix libdir=$root$libdir' Thanks, committed, under your name ;-) > 4. The above caused lvm2 to fail since it could not find libaio.h > > 5. grub2 was failing: First with: > > from symlist.h:2: > ../include/grub/symbol.h:36:20: error: #if with no expression > 36 | #if HAVE_ASM_USCORE > > I found a patch on the web for that error: (attached) > > but there is a 2nd error after that, which I have not solved yet: > > make[3]: *** [Makefile:31011: usbserial_pl2303.module] Error 1 > /opt/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/crosscc/../lib/gcc/x86_64-t2-linux-gnu/9.2.0/../../../../x86_64-t2-linux-gnu/bin/ld: > relocatable linking with relocations from format elf64-x86-64 > (bus/usb/serial/usbserial_ftdi_module-ftdi.o) to format elf32-i386 > (usbserial_ftdi.module) is not supported > collect2: error: ld returned 1 exit status > /opt/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/crosscc/../lib/make[3]: > *** [Makefile:31004: usbserial_ftdi.module] Error 1 > gcc/x86_64-t2-linux-gnu/9.2.0/../../../../x86_64-t2-linux-gnu/bin/ld: > relocatable linking with relocations from format elf64-x86-64 > (bus/usb/uhci_module-uhci.o) to format elf32-i386 (uhci.module) is not > supported > collect2: error: ld returned 1 exit status > > Seems to be building for i386, and does not like the lib64 libs?? not sure > what is going on here. Thanks, I likely commit the attached patch already. Best keep us updated with one issue per email, so I can simply keep track using the replied to flags of the emails ;-) René -- ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com https://exactscan.com | https://ocrkit.com | https://t2sde.org | https://rene.rebe.de
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to li...@t2-project.org with a subject of: unsubscribe t2