[arch-general] Any way to revert chroot to gcc46?

David C. Rankin drankinatty at suddenlinkmail.com
Fri Apr 6 00:56:01 EDT 2012


On 04/05/2012 03:43 PM, Baho Utot wrote:
> copy the gcc binary/pkgbuilt files to <chroot>/root/repo
> 
> repo-add gcc<whatever>*
> 
> chroot <chroot>/root
> 
> pacman -S gcc<whatever>
> 
> exit
> 

Thanks Baho,

  I'll have to play with it a bit. I don't really see how that fits in with the
mkarchroot setup (probably does, I just don't see it). The build on gcc 4.7 is
coming along. Strangely, a bunch of the errors are during the "package()" part
of the build with libtool "relink:" errors like:

libtool: relink: g++  -fPIC -DPIC -shared -nostdlib
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/crti.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/crtbeginS.o  .libs/gwenview_dummy.o
  -Wl,-rpath -Wl,/opt/trinity/lib -Wl,-rpath -Wl,/opt/tqt3/lib
-L/build/src/gwenview/src/gvcore/.libs -L/opt/trinity/lib -L/opt/tqt3/lib
-L/usr/lib/mysql -L/usr/X11R6/lib64 -L/build/pkg/opt/trinity/lib
-ltdeinit_gwenview -L/usr/lib
-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib -lgwenviewcore
-ltdeprint -lkmediaplayer -ljpeg -lexiv2 -lkipi -lkio -ltdeui -ltdecore
-L/build/pkg/usr/lib -lkutils -L/build/pkg/opt/tqt3/lib -ltqt-mt -lpq
-lmysqlclient -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
-lfontconfig -ldl -lpng -lz -lXext -lX11 -lSM -lICE -ltqt -lpthread
-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0 -L/lib/../lib -L/usr/lib/../lib
-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/crtendS.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/crtn.o  -O2
-march=x86-64 -mtune=generic -O2 -Wl,--no-undefined -Wl,--allow-shlib-undefined
-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu
  -Wl,-soname -Wl,gwenview.so -o .libs/gwenview.so
/usr/bin/ld: cannot find -ltdeinit_gwenview
collect2: error: ld returned 1 exit status
libtool: install: error: relink `gwenview.la' with the above command before
installing it
make[3]: *** [install-tdeinitLTLIBRARIES] Error 1

  Still trying to figure out why we are 'relinking' during 'package()'...

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list