Thanks Paulo.
I fixed it with commmit
https://abf.rosalinux.ru/openmandriva/mesa/commit/f9742649bfaa05dd71af5b7cadffe71c26e91121
issue with Mesa solved.

But issue with gcc still need any solution


2013/11/27 <[email protected]>

> Alexander Khryukin escreveu:
> > Looks like mesa broken since 10.0rc update from Bero
> > https://abf.io/openmandriva/mesa
> > buildlog:
> > https://abf.io/build_lists/1422983
>
>   It should be completely safe to change mesa.spec
>
> +%define dri_drivers_arm "nouveau,r200,radeon,swrast"
> -%define dri_drivers_arm "nouveau,r200,swrast"
>
> I believe other than swrast, none would work anyway.
>
> > Error:
> >
> >
> /builddir/build/BUILD/Mesa-10.0.0-rc1/src/gallium/winsys/radeon/drm/radeon_drm_bo.c:516:
> > (.text+0xe78):
> > relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
> `radeon_bo_do_map'
> > defined in .text section in
> > ../../../../src/gallium/winsys/radeon/drm/.libs/libradeonwinsys.a
> > (radeon_drm_bo.o)
>
>   This looks like a gcc/ld bug miscalculating jumps, that end
> up not fitting in 11 bits (-1024*4 to 1023*4 bytes displacement).
>
> > Well now i have dependency hell
> >
> > gcc to build requires mesa. mesa need a rebuild after llvm upgrade.
> >
> > And now i can't build any packages that requires mesa-devel.
> > ==============
> >
> > GCC
> >
> > Strange behaviour of gcc
> > https://abf.io/openmandriva/gcc
> > it always adds --disable-static option to configure script
> >
> > BuildLog: https://abf.io/build_lists/1389345
> >
> > x86_64
> >
> > *NO* *DISABLE-STATIC*
> >
> >
> > + ./configure --target=x86_64-mandriva-linux-gnu
> > --host=x86_64-mandriva-linux-gnu
> > --build=x86_64-mandriva-linux-gnu
> > --disable-silent-rules
> > --disable-dependency-tracking
> > --disable-rpath
> > --program-prefix=
> > --prefix=/usr
> > --exec-prefix=/usr
> > --bindir=/usr/bin
> > --sbindir=/usr/sbin
> > --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
> > --libdir=/usr/lib64
> > --libexecdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/usr/com
> > --mandir=/usr/share/man
> > --infodir=/usr/share/info
> > --x-includes=/usr/include
> > --x-libraries=/usr/lib64 --disable-libjava-multilib
> > --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
> > --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-java-awt=gtk
> > --enable-gtk-cairo --with-cloog --with-ppl --enable-cloog-backend=isl
> > --disable-cloog-version-check --disable-libssp
> > --disable-libunwind-exceptions --disable-werror --enable-__cxa_atexit
> > --enable-gold=default --with-plugin-ld=/usr/bin/ld --enable-bootstrap
> > --enable-checking=release --enable-gnu-unique-object
> > --enable-languages=c,ada,c++,fortran,go,java,lto,objc,obj-c++
> > --enable-linker-build-id --enable-plugin --enable-lto --enable-shared
> > --enable-threads=posix --with-system-zlib
> > --with-bugurl=https://qa.mandriva.com/ --with-tune=generic
> > --with-arch_32=i586 --with-multilib-list=m32,m64
> > --host=x86_64-mandriva-linux-gnu --target=x86_64-mandriva-linux-gnu
> >
> >
> > armv7hl
> >
> >
> >
> > + ./configure --target=armv7hl-mandriva-linux-gnueabi
> > --host=armv7hl-mandriva-linux-gnueabi
> > --build=armv7hl-mandriva-linux-gnueabi
> > *--disable-static *--disable-silent-rules
> > --disable-dependency-tracking
> > --disable-rpath
> > --program-prefix=
> > --prefix=/usr
> > --exec-prefix=/usr
> > --bindir=/usr/bin
> > --sbindir=/usr/sbin
> > --sysconfdir=/etc -
> > -datadir=/usr/share
> > --includedir=/usr/include
> >
> >
> > *--DISABLE-STATIC option is ON*
> >
> >
> > This is two BIG issues that need to be resolved soon as possible.
>
>   Not the prettiest solution but as I said, disabling radeon on
> arm should be good enough.
>
> Paulo
>
>
>


Reply via email to