[ANNOUNCE] util-macros 1.13.0
A handful of modules have begun adding unit test programs. These macros will help providing a consistent interface which will help package builders and developers to manage the functionality. XORG_ENABLE_UNIT_TESTS will turn on/off unit testing, regardless of how it is implemented. The default (yes/no) can be specified by each module. It can be used by itself if glib or -wrap support is not needed. XORG_WITH_GLIB will probe the system for glib-2.0. A different version can be specified in each module. It will consult XORG_ENABLE_UNIT_TESTS but can be used by itself in contexts other then unit testing. The default (yes/no) can be specified by each module. XORG_LD_WRAP will probe the linker for -wrap support. It will consult XORG_ENABLE_UNIT_TESTS but can be used by itself in contexts other then unit testing. Gaetan Nadon (4): XORG_ENABLE_UNIT_TESTS: add support for unit testing XORG_WITH_GLIB: check for the GLib package XORG_LD_WRAP: check if linker supports -wrap Version bump: 1.13.0 git tag: util-macros-1.13.0 http://xorg.freedesktop.org/archive/individual/util/util-macros-1.13.0.tar.bz2 MD5: ed6dbe0cd80c29fd7d6653385b1db540 util-macros-1.13.0.tar.bz2 SHA1: 5d86ac2a4c0aa3428d72aff35dacc07baf883121 util-macros-1.13.0.tar.bz2 http://xorg.freedesktop.org/archive/individual/util/util-macros-1.13.0.tar.gz MD5: 31e9ddcbc1d8bc8c09ab180443974dd1 util-macros-1.13.0.tar.gz SHA1: a2537f380d048100d1161fbf5b8983b25e35299b util-macros-1.13.0.tar.gz signature.asc Description: This is a digitally signed message part ___ xorg-announce mailing list xorg-announce@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg-announce
libXt 1.1.1 cross compilation breakage
9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14 broke cross compilation by using target specific CFLAGS when building makestrs. Reverting this commit fixes the problem. take care, jason ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [dri] RADEONDRIGetVersion failed because of a version mismatch.
alex, Thanks for the info on this. I ended up going through everything and found what was happening. basically I was loading all the fb modules which was causing the freeze. seems in the past I was able to have these guys loading, and there was no issue.(only thing I can think of is I had stale nvidia libraries(libGL.la)in the system which _maybe_ was causing them to work regardless. in any case thanks for the help on this. Justin P. Mattock ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: libXt 1.1.1 cross compilation breakage
On Tue, 2011-03-15 at 16:06 -0400, Jason Woodward wrote: 9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14 broke cross compilation by using target specific CFLAGS when building makestrs. Reverting this commit fixes the problem. Thanks for isolating where the problem was injected. I'd like to understand better, per-target flags are not for cross-compilation and in this case, it should be a no-op. Can you provide the command that is issued? Is it trying to cross-compile makestrs? I suspect the XT_CFLAGS are missing. This is what I have on a regular build. gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..-I/home/nadon/xorg/src/include-g -O2 -MT makestrs.o -MD -MP -MF .deps/makestrs.Tpo -c -o makestrs.o makestrs.c /bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 -I/home/nadon/xorg/src/include-g -O2 -o makestrs makestrs.o libtool: link: gcc -std=gnu99 -I/home/nadon/xorg/src/include -g -O2 -o makestrs makestrs.o take care, jason ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: mems...@videotron.ca signature.asc Description: This is a digitally signed message part ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: libXt 1.1.1 cross compilation breakage
Hi Gaetan, I'd like to understand better, per-target flags are not for cross-compilation and in this case, it should be a no-op. Can you provide the command that is issued? Is it trying to cross-compile makestrs? I suspect the XT_CFLAGS are missing. This is what I have on a regular build. gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/home/nadon/xorg/src/include-g -O2 -MT makestrs.o -MD -MP -MF .deps/makestrs.Tpo -c -o makestrs.o makestrs.c /bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 -I/home/nadon/xorg/src/include-g -O2 -o makestrs makestrs.o libtool: link: gcc -std=gnu99 -I/home/nadon/xorg/src/include -g -O2 -o makestrs makestrs.o I should note that I was previously passing makestrs_CFLAGS= when building and that looks like it has been replaced by XT_CFLAGS and so... XT_CFLAGS seems to be the problem for me on ppc as it is pulling in the target headers and tripping up over: include/bits/endian.h:34:4: warning: #warning Cannot determine current byte order, assuming big-endian. CCLD makestrs makestrs.o: In function `WriteHeaderProlog': makestrs.c:(.text+0x101): undefined reference to `__nldbl_fprintf' makestrs.c:(.text+0x17d): undefined reference to `__nldbl_fprintf' makestrs.c:(.text+0x1b1): undefined reference to `__nldbl_fprintf' makestrs.o: In function `IntelABIWriteHeader': makestrs.c:(.text+0x26a): undefined reference to `__nldbl_fprintf' makestrs.c:(.text+0x2d0): undefined reference to `__nldbl_fprintf' makestrs.o:makestrs.c:(.text+0x30e): more undefined references to `__nldbl_fprintf' follow makestrs.o: In function `WriteHeader': makestrs.c:(.text+0x86b): undefined reference to `__nldbl_sprintf' makestrs.c:(.text+0x8dc): undefined reference to `__nldbl_sprintf' makestrs.o: In function `WriteSourceLine': makestrs.c:(.text+0x993): undefined reference to `__nldbl_printf' makestrs.o: In function `IntelABIWriteSource': makestrs.c:(.text+0xa33): undefined reference to `__nldbl_printf' makestrs.c:(.text+0xa7b): undefined reference to `__nldbl_printf' makestrs.o: In function `IntelABIBCWriteSource': makestrs.c:(.text+0xaf7): undefined reference to `__nldbl_printf' makestrs.c:(.text+0xb61): undefined reference to `__nldbl_printf' makestrs.o:makestrs.c:(.text+0xbb1): more undefined references to `__nldbl_printf' follow makestrs.o: In function `WriteSource': makestrs.c:(.text+0xf5e): undefined reference to `__nldbl_fprintf' makestrs.c:(.text+0xf9c): undefined reference to `__nldbl_printf' makestrs.c:(.text+0xfb6): undefined reference to `__nldbl_printf' makestrs.o: In function `DoLine': makestrs.c:(.text+0x1686): undefined reference to `__nldbl_fprintf' collect2: ld returned 1 exit status make[1]: *** [makestrs] Error 1 I understand the problem better now. If this is a no-fix from your end I can just update the build to prebuild with make -C util makestrs CC=gcc CFLAGS= XT_CFLAGS= take care, jason ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: libXt 1.1.1 cross compilation breakage
On 3/15/2011 1:06 PM, Jason Woodward wrote: 9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14 broke cross compilation by using target specific CFLAGS when building makestrs. Reverting this commit fixes the problem. For what it is worth, as long I set the environment variables CC_FOR_BUILD, CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD during configure, makestrs compiles correctly during cross compile. However, if I do not set these environment variables during configure, then makestrs fails to compile during cross cross compile. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: libXt 1.1.1 cross compilation breakage
On Tue, 2011-03-15 at 17:17 -0700, Paul Bender wrote: For what it is worth, as long I set the environment variables CC_FOR_BUILD, CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD during configure, makestrs compiles correctly during cross compile. However, if I do not set these environment variables during configure, then makestrs fails to compile during cross cross compile. And what would be those values, the native compiler or the cross-compiler? What happens if you don't set them? same as Jason? From my reading, the issue would be that makestrs drags many header files which are probably appropriate for the host system but not for the build system. configure.ac: # Set-up variables to use build machine compiler when cross-compiling if test x$CC_FOR_BUILD = x; then if test x$cross_compiling = xyes; then AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc) else CC_FOR_BUILD=$CC fi fi AC_SUBST([CC_FOR_BUILD]) CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} AC_SUBST(CFLAGS_FOR_BUILD) LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} AC_SUBST(LDFLAGS_FOR_BUILD) Thanks signature.asc Description: This is a digitally signed message part ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com