Arch64 / building xorg 7.0

I have compiled all the packages required by xorg-clients and am having trouble compiling xorg-clients.  I have libgl-mesa installed, but couldn't get libgl-dri built.  The problem seems to be beyond my competency, and here is what I gather to be the relevant information:
making all in programs/glxinfo...
make[1]: Entering directory
`/home/acousino/packages/testing/xorg-clients/src/xc/programs/glxinfo'
rm -f glxinfo
gcc -o glxinfo -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -Wall
-Wpointer-arith -Wundef
-L/home/acousino/packages/testing/xorg-clients/src/xc/exports/lib glxinfo.o -lGLU
-lGL -lXext -lX11 -lpthread -lm
-Wl,-rpath-link,/home/acousino/packages/testing/xorg-clients/src/xc/exports/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/4.0.3/../../../../lib64/libGL.so: undefined ref
erence to `gl_dispatch_functions_start'
collect2: ld returned 1 exit status
make[1]: *** [glxinfo] Error 1
make[1]: Leaving directory `/home/acousino/packages/testing/xorg-clients/src/xc/
programs/glxinfo'
make: *** [all] Error 2
Any help would be greatly appreciated.  Also if any one has problems getting to this point, I am willing to share my PKGBUILDs.

this is a completelyrandom guess but i think something might need to be recompiled with -fPIC

Similar Messages

  • [SOLVED] Trouble Building Xorg-Server 1.6.1-1 (Modified PKGBUILD)

    ever since the release of xorg-server 1.5.3, i've been using a modified
    PKGBUILD to build xorg-server sans hal and dbus.  (not gonna try
    justifying it again; that'd just lead to yet another flame war.)
    i've never had a problem until the 1.6.1-1 PKGBUILD, which adds the lines:
    libtoolize --force || return 1
    aclocal || return 1
    autoconf || return 1
    automake --add-missing || return 1
    after applying patches and before running the configure.  these added lines produce:
    libtoolize: putting auxiliary files in `.'.
    libtoolize: linking file `./ltmain.sh'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros
    in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
    hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
    hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in
    AM_CONDITIONAL
    hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in
    AM_CONDITIONAL
    ==> ERROR: Build Failed.
    Aborting...
    my modified PKGBUILD is build.  please note that i *have* tried
    reverting my changes (the commented patches), to no avail.
    as i'm pretty clueless vis-a-vis makefiles and the autoconf system,
    could somehow point me in the direction of a fix?
    many thanks,
    kludge
    # $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $
    # Maintainer: Alexander Baldeck <[email protected]>
    # Contributor: Jan de Groot <[email protected]>
    pkgname=xorg-server
    pkgver=1.6.1
    pkgrel=1
    pkgdesc="X.Org X servers"
    arch=('i686' 'x86_64')
    license=('custom')
    url="http://xorg.freedesktop.org"
    depends=('libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils')
    makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'libgl>=7.4' 'glproto>=1.4.9')
    #optdepends=( 'xf86-input-evdev: to provide input device hotplugging'
    # 'hal>=0.5.11: to provide input devices for hotplugging' )
    options=('!libtool')
    provides=('x-server' ) # 'xorg-server')
    conflicts=('catalyst-utils<=9.2')
    groups=('xorg')
    install=xorg-server.install
    source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
    xorg-redhat-die-ugly-pattern-die-die-die.patch
    hal-wait.patch)
    md5sums=('ed0878bf32a24d4948c3b8a122a39eff'
    '1a336eb22e27cbf443ec5a2ecddfa93c'
    'f16d2caef84e1a9c4075b6c5e145512d')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    # Get rid of the ugly pattern
    patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
    # Fix dbus config path - removed b/c no dbus config'd
    # sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
    # Revert waiting for hal, assume hal won't show up when initial connect fails
    # commented out b/c no hal config'd
    # patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1
    libtoolize --force || return 1
    aclocal || return 1
    autoconf || return 1
    automake --add-missing || return 1
    # --enable-config-{dbus,hal} switched to --disable
    # to disable hotplugging and dependencies
    ./configure --prefix=/usr \
    --enable-ipv6 \
    --enable-dri \
    --disable-dmx \
    --enable-xvfb \
    --enable-xnest \
    --enable-composite \
    --enable-xcsecurity \
    --enable-xorg \
    --enable-xephyr \
    --enable-glx-tls \
    --enable-kdrive \
    --enable-install-setuid \
    --disable-config-hal \
    --disable-config-dbus \
    --enable-record \
    --disable-xfbdev \
    --disable-xfake \
    --disable-xsdl \
    --disable-static \
    --sysconfdir=/etc/X11 \
    --localstatedir=/var \
    --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
    --with-xkb-path=/usr/share/X11/xkb \
    --with-xkb-output=/var/lib/xkb \
    --with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
    make || return 1
    make DESTDIR="${pkgdir}" install || return 1
    rm -rf "${pkgdir}/var/log" || return 1
    install -m755 -d "${pkgdir}/etc/X11" || return 1
    install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
    # Needed for non-mesa drivers, libgl will restore it
    mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
    "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
    install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
    install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
    Last edited by kludge (2009-05-01 17:25:39)

    Not any help to your error but have you tried the one in aur with disabled dbus and hal?
    I've been using it for a week or so with no problems and it built fine.
    http://aur.archlinux.org/packages.php?ID=23750

  • [Solved] Can't build Xorg-Server-Git.

    Hello
    I want to build xorg-server-git from AUR I modifeted PKGBUILD becouse old can't be build.
    That's my PKGBUILD:
    pkgname=xorg-server-git
    pkgver=20090731
    pkgrel=1
    pkgdesc="X.Org X servers"
    arch=('x86_64')
    license=('custom')
    url="http://xorg.freedesktop.org"
    depends=('libxfont>=1.4.0' 'openssl>=0.9.8k' 'libpciaccess>=0.10.6' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xkeyboard-config>=1.6' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils' )
    makedepends=('libx11>=1.2.1' 'mesa>=7.5' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'glproto>=1.4.9' 'xorg-util-macros')
    conflicts=('catalyst-utils<=9.2')
    options=('!libtool')
    _gitver=1.6.2.1
    provides=('x-server')
    groups=('xorg')
    install=xorg-server.install
    _gitroot="git://anongit.freedesktop.org/git/xorg/xserver"
    _gitname="xserver"
    source=("xorg-redhat-die-ugly-pattern-die-die-die.patch")
    md5sums=('1a336eb22e27cbf443ec5a2ecddfa93c')
    build() {
    msg "Connecting to git.freedesktop.org GIT server...."
    if [ -d $startdir/src/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot
    fi
    cp -a "${srcdir}/$_gitname/" "${srcdir}/$_gitname-build/"
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    cd "${srcdir}/$_gitname-build"
    msg "Patching sources..."
    # Fix dbus config path
    sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
    msg "Preparing sources for configure..."
    autoreconf -v --install || return 1
    msg "Starting configure for: $pkgname"
    ./configure --prefix=/usr \
    --disable-ipv6 \
    --disable-dri2 \
    --disable-dri \
    --disable-dmx \
    --disable-xvfb \
    --disable-xnest \
    --disable-composite \
    --disable-xcsecurity \
    --enable-xorg \
    --disable-xephyr \
    --disable-glx-tls \
    --disable-kdrive \
    --enable-install-setuid \
    --disable-config-hal \
    --enable-config-dbus \
    --disable-record \
    --disable-xfbdev \
    --disable-xfake \
    --disable-xsdl \
    --disable-static \
    --sysconfdir=/etc/X11 \
    --localstatedir=/var \
    --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
    --with-xkb-path=/usr/share/X11/xkb \
    --with-xkb-output=/var/lib/xkb \
    # --without-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
    msg "Starting make..."
    make || return 1
    make DESTDIR="${pkgdir}" install || return 1
    msg "Creating the appropriate X.org directories..."
    install -m755 -d "${pkgdir}/etc/X11" || return 1
    install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
    msg "Backing up libwfb.so..."
    mv "${pkgdir}/usr/lib/xorg/modules/libwfb.so" \
    "${pkgdir}/usr/lib/xorg/modules/libwfb.so.1.4" || return 1
    msg "Fixes for non-Mesa drivers..."
    ln -s "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
    "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
    msg "Cleaning build area..."
    rm -rf "${srcdir}/$_gitname-build"
    rm -rf "${pkgdir}/var/log"
    And It's my error when i try to make it:
    In file included from xfixesint.h:63,
    from xfixes.c:54:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    In file included from xfixesint.h:63,
    from saveset.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    make[1]: *** [xfixes.lo] Błąd 1
    make[1]: *** Oczekiwanie na niezakończone zadania....
    make[1]: *** [saveset.lo] Błąd 1
    In file included from xfixesint.h:63,
    from region.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    In file included from xfixesint.h:63,
    from select.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    In file included from xfixesint.h:63,
    from cursor.c:54:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    region.c: In function 'ProcXFixesSetWindowShapeRegion':
    region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
    region.c:695: error: (Each undeclared identifier is reported only once
    region.c:695: error: for each function it appears in.)
    region.c:696: error: 'ShapeClip' undeclared (first use in this function)
    region.c:697: error: 'ShapeInput' undeclared (first use in this function)
    make[1]: *** [region.lo] Błąd 1
    make[1]: *** [select.lo] Błąd 1
    make[1]: *** [cursor.lo] Błąd 1
    make: *** [all-recursive] Błąd 1
    ==> BŁĄD: Budowanie nie powiodło się.
    Przerywam...
    Thanks for help and advice
    Last edited by SpeedVin (2009-07-31 14:06:30)

    flamelab wrote:
    Can you please post an output of this error with english messages ? I don't understand Polish
    It says "No such file or directory" I suppose ?
    Yes that's right I'm not good at tranlate but I will try
    In file included from xfixesint.h:63,
    from saveset.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    In file included from xfixesint.h:63,
    from cursor.c:54:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    make[1]: *** [saveset.lo] Error 1
    make[1]: *** Waiting for not end tasks....
    In file included from xfixesint.h:63,
    from region.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    make[1]: *** [cursor.lo] Error 1
    In file included from xfixesint.h:63,
    from select.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    region.c: In function 'ProcXFixesSetWindowShapeRegion':
    region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
    region.c:695: error: (Each undeclared identifier is reported only once
    region.c:695: error: for each function it appears in.)
    region.c:696: error: 'ShapeClip' undeclared (first use in this function)
    region.c:697: error: 'ShapeInput' undeclared (first use in this function)
    make[1]: *** [select.lo] Błąd 1
    In file included from xfixesint.h:63,
    from xfixes.c:54:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    make[1]: *** [region.lo] Error 1
    make[1]: *** [xfixes.lo] Error 1
    make: *** [all-recursive] Error 1
    ==> Error: Make fail
    Last edited by SpeedVin (2009-07-31 14:02:05)

  • [SOLVED] building xorg-server: libgl & nvidia-utils conflict

    Hello!
    I somehow feel like I'm totally missing the point, but...
    edit: although I think (not sure any more) this was the same procedure when I first compiled xorg-server, I maybe should mention, I'm now using the testing xorg.
    I still don't really understand, why I need libgl to build xorg-server. Aren't nvidia-utils supposed to replace that? Is there a way of building xorg-server with nvidia-utils instead of libgl and if yes: are there (dis-/) advantages doing so other than not having to uninstall nvidia-utils while compiling xorg-server?
    Or the other way around: Perhaps it's just me, but I feel "funny" having to remove something that's vital to my installation before I can compile something that's vital to my installation, too... so is it really OK to remove nvidia-utils and compile xorg-server without it or am I doing it wrong?
    Thank you for enlightening me
    Last edited by whoops (2009-04-07 02:20:51)

    Well AFAIK, The nVIDIA closed source drivers haven't caught up with xorg server 1.6 which is why you need libgl to build xorg-xserver 1.6+. I personally perfer the open source drivers over Fglrx (FireGL and Radeon X) and the closed source nVIDIA drivers as well.
    edit: xorg server is 1.6 in testing so if you want to compile from source, and have the closed source nvidia drivers, you would need to compile xorg server 1.5.XX
    P.S. You cannot have both, the nvidia drivers and the open source drivers (libgl), running at the same time which is why the nvidia-* packages are to be removed.
    Cheers!
    Last edited by Neo_The_User (2009-03-30 16:53:28)

  • Unable to build xorg-server from abs

    Trying to makepkg xorg-server 1.13.1-1, however faults out with the following:
    /usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
    In file included from main.c:102:0:
    ../include/dixfont.h:182:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
    In file included from /usr/include/X11/fonts/fontstruct.h:291:0,
    from ../include/dixfont.h:30,
    from main.c:102:
    /usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
    main.c: In function 'main':
    main.c:140:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    cc1: some warnings being treated as errors
    make[2]: *** [main.lo] Error 1
    make[2]: Leaving directory `/media/data/abs/xorg-server/src/xorg-server-1.13.1/dix'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/media/data/abs/xorg-server/src/xorg-server-1.13.1/dix'
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    My system is an AMD64 with a nvidia 9800GT using Arch x64 & nouveau driver.
    Would appreciate any help.

    Trying to makepkg xorg-server 1.13.1-1, however faults out with the following:
    /usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
    In file included from main.c:102:0:
    ../include/dixfont.h:182:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
    In file included from /usr/include/X11/fonts/fontstruct.h:291:0,
    from ../include/dixfont.h:30,
    from main.c:102:
    /usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
    main.c: In function 'main':
    main.c:140:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    main.c:171:24: error: array subscript is outside array bounds [-Werror=array-bounds]
    cc1: some warnings being treated as errors
    make[2]: *** [main.lo] Error 1
    make[2]: Leaving directory `/media/data/abs/xorg-server/src/xorg-server-1.13.1/dix'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/media/data/abs/xorg-server/src/xorg-server-1.13.1/dix'
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    My system is an AMD64 with a nvidia 9800GT using Arch x64 & nouveau driver.
    Would appreciate any help.

  • Building xorg-server fails

    Hi everyone
    I think I'm having the same problems as this guy: https://bugs.freedesktop.org/show_bug.cgi?id=12509
    To make sure that the suggested patch (from here: https://bugs.freedesktop.org/show_bug.cgi?id=12858) is really working I tried to rebuild xorg-server.
    But I just get some strange errors and I can't figure out where they come from
    I did 'make' in the folder that failed during makepkg
    Here's the output: http://phpfi.com/277365
    My system is completely up to date (I also tried building it after the core-update but no success)
    I'd appreciate any help
    Thanks in advance
    XazZ

    Yep. it should work with --disable-config-hal .
    Btw, thats how the patch was really commited :
    http://gitweb.freedesktop.org/?p=xorg/x … 1b4c747727
    You should be able to download this link and use it as a patch directly.
    If it works, open a bug report on bugs.archlinux.org with a link to the upstream bug report 12858, and with the link above (the patch that was actually commited).

  • [SOLVED] xorg-server build from abs fails

    Hi,
    ever since I installed the update to gcc-5.1.0 the building of xorg-server from abs fails:
    $ makepkg -s
    CCLD libXextdpmsstubs.la
    xvdisp.c: In function ‘XineramifyXv’:
    xvdisp.c:1783:37: error: array subscript is above array bounds [-Werror=array-bounds]
    if (MatchingAdaptors[k] && (MatchingAdaptors[k]->nPorts > j))
    ^
    xvdisp.c:1784:31: error: array subscript is above array bounds [-Werror=array-bounds]
    port->info[k].id = MatchingAdaptors[k]->base_id + j;
    ^
    xvdisp.c:1786:31: error: array subscript is above array bounds [-Werror=array-bounds]
    port->info[k].id = 0;
    ^
    cc1: some warnings being treated as errors
    Makefile:777: recipe for target 'xvdisp.lo' failed
    make[1]: *** [xvdisp.lo] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    This happens for xorg-server-1.17.1-6 and up as well as for xorg-server-1.17.2-1 .
    $ gcc --version
    gcc (GCC) 5.1.0
    Copyright (C) 2015 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    I searched for a solution or a patch, but couldn't find anything.
    xorg-server-1.17.2 supposedly has build fixes with gcc-5.1, but obviously that didn't help much for me.
    Otherwise my arch installation is up-to-date.
    I'm building on x86-64 (Haswell) with
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
    CXXFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
    LDFLAGS="-Wl,-O2,--sort-common,--as-needed,-z,relro"
    MAKEFLAGS="-j16"
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    Has anyone else seen this or any idea how to fix it?
    Last edited by pgzh (2015-06-19 15:03:20)

    Using
    CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
    CXXFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
    in makepkg.conf actually worked, I totally forgot about changing the optimization level.
    Since this is the first time for a very long time I've encountered a problem with -O3, do you think this should be reported as a bug for xorg-server?
    With gcc-4.9 building xorg-server with -O3 optimization level worked perfectly fine for me (I built 1.17.1 like that) and gcc-5.1 causes this culprit.
    Anyways, thank you very much for your help!

  • [SOLVED] Xorg 1.8 moves to extra, but not in ABS

    I use Xorg with my own patch so I need to build xorg-server-1.8.1 . But when "abs" completed there are 1.7.6 in "extra" and 1.8.0 in "xorg18".
    Last edited by beroal (2010-06-21 02:02:49)

    beroal wrote:I use Xorg with my own patch so I need to build xorg-server-1.8.1 . But when "abs" completed there are 1.7.6 in "extra" and 1.8.0 in "xorg18".
    abs is updated once per day. if you don't want to wait, check the build from svn

  • Compiling Xorg 7.1 on S10 06/6  assembler errors? Help wanted!

    Firstly I have:
    /usr/ccs/bin/as -V
    as: Sun Compiler Common 10 Patch 09/20/2005
    /usr/sfw/bin/gas -v
    GNU assembler version 2.15 (i386-pc-solaris2.10) using BFD version 2.15
    SMCautoc autoconf
    (x86) 2.60
    SMCautom automake
    (x86) 1.10
    SMCbison bison
    (x86) 2.3
    SMCexpat expat
    (intel) 1.95.4
    SMCflex flex
    (x86) 2.5.33
    SMCfontc fontconfig
    (intel) 2.2.98
    SMCftype freetype
    (x86) 2.2.1
    SMCgcc gcc
    (x86) 3.4.6
    SMCglib glib
    (i386) 1.2.10
    SMCindent indent
    (x86) 2.2.9
    SMCjpeg jpeg
    (intel) 6b
    SMClibpng libpng
    (x86) 1.2.12
    SMClibt libtool
    (intel) 1.5
    SMCliconv libiconv
    (x86) 1.11
    SMCm4 m4
    (x86) 1.4.7
    SMCmake make
    (x86) 3.81
    SMCmc mc
    (x86) 4.6.1
    SMCslang slang
    (x86) 2.0.6
    SMCtar tar
    (x86) 1.16
    SMCtiff tiff
    (x86) 3.7.4
    SMCx11vnc x11vnc
    (intel) 0.7
    ...and the required SUNW packages from the DVD, and Sun Studio 11.
    (I do have some required libs's required versions, as described in the ModularDevelopersGuide from the xorg wiki, it's just I compiled some of them)
    After getting Xorg's 7.0 and 7.1 "everything" bz2 files I merged them with the x-merge.scm script, and begun to build:
    PATH=/X71/bin:$PATH ./build-from-tarballs.sh -e /root/ujx/build-dir -c /X71
    In about an hour (Athlon XP 2800+, 1GB RAM) i got the following error if run with Sun's as
    Assembler: fbpict.c
              "/var/tmp//ccmsir9P.s". line 4341 : illegal PC-relative relocation
    If run with gas
    [the last command:]
    gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -I../include -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -DHAVE_DIX_CONFIG_H -DUSE_MMX -mmmx -msse -Winline param inline-unit-growth=10000 param large-function-growth=10000 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/X71/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -g -O2 -MT libfbmmx_la-fbmmx.lo -MD -MP -MF .deps/libfbmmx_la-fbmmx.Tpo -c fbmmx.c -fPIC -DPIC -o .libs/libfbmmx_la-fbmmx.o
    /var/tmp//ccShvdha.s: Assembler messages:
    /var/tmp//ccShvdha.s:6533: Error: invalid character '.' in mnemonic
    /var/tmp//ccShvdha.s:7312: Error: invalid character '.' in mnemonic
    /var/tmp//ccShvdha.s:9211: Error: invalid character '.' in mnemonic
    /var/tmp//ccShvdha.s:14814: Error: invalid character '.' in mnemonic
    /var/tmp//ccShvdha.s:16431: Error: invalid character '.' in mnemonic
    /var/tmp//ccShvdha.s:25913: Error: invalid character '.' in mnemonic
    make: *** [libfbmmx_la-fbmmx.lo] Error 1
    There is a little trick:
    When the whole build process is done with as, and get to the point where the build-script halts with "illegal PC-relative relocation",I ln -s /usr/sfw/bin/gas /usr/ccs/bin/as (after mv /usr/ccs/bin/as /usr/ccs/bin/as.sun of course) and after it it spits out the above "invalid character..." messages, I revert back to SUN's as, and I make a "make" in {my-path}/build-dir/xorg-server-X11R7.1-1.1.0/fb it succeeds:
    [the last command:]
    mkdir .libs/libfb.lax/libfbmmx.a
    (cd .libs/libfb.lax/libfbmmx.a && ar x /root/ujx/build-dir/xorg-server-X11R7.1-1.1.0/fb/./.libs/libfbmmx.a)
    ar cru .libs/libfb.a .libs/fb24_32.o .libs/fballpriv.o .libs/fbarc.o .libs/fbbits.o .libs/fbblt.o .libs/fbbltone.o .libs/fbbstore.o .libs/fbcompose.o .libs/fbcopy.o .libs/fbfill.o .libs/fbfillrect.o .libs/fbfillsp.o .libs/fbgc.o .libs/fbgetsp.o .libs/fbglyph.o .libs/fbimage.o .libs/fbline.o .libs/fboverlay.o .libs/fbpict.o .libs/fbpixmap.o .libs/fbpoint.o .libs/fbpush.o .libs/fbscreen.o .libs/fbseg.o .libs/fbsetsp.o .libs/fbsolid.o .libs/fbstipple.o .libs/fbtile.o .libs/fbtrap.o .libs/fbutil.o .libs/fbwindow.o .libs/fbpseudocolor.o .libs/fbedge.o .libs/libfb.lax/libfbmmx.a/libfbmmx_la-fbmmx.o
    ranlib .libs/libfb.a
    rm -fr .libs/libfb.lax
    creating libfb.la
    (cd .libs && rm -f libfb.la && ln -s ../libfb.la libfb.la)
    After all this I cd back to {my-path}/build-dir/xorg-server-X11R7.1-1.1.0, type make and after it the build process succeeds until this point:
    gcc -shared -Wl,-h -Wl,libfb.so -o .libs/libfb.so .libs/fbcmap.o .libs/fbmodule.o -Wl,-z -Wl,allextract,../../../fb/.libs/libfb.a -Wl,-z -Wl,defaultextract -lnsl -lsocket -lm -lc
    ld: fatal: relocation error: R_386_PC32: file .rel.text: section: ../../../fb/.libs/libfb.a(fbpict.o): offset: 0x242d: relocation requires reference symbol
    collect2: ld returned 1 exit status
    make[5]: *** [libfb.la] Error 1
    make[5]: Leaving directory `/root/ujx/build-dir/xorg-server-X11R7.1-1.1.0/hw/xfree86/dixmods'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/root/ujx/build-dir/xorg-server-X11R7.1-1.1.0/hw/xfree86/dixmods'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/root/ujx/build-dir/xorg-server-X11R7.1-1.1.0/hw/xfree86'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/root/ujx/build-dir/xorg-server-X11R7.1-1.1.0/hw/xfree86'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/ujx/build-dir/xorg-server-X11R7.1-1.1.0/hw'
    make: *** [all-recursive] Error 1
    I think that has something to do with the "trick" above as some (or at least one) symbol(s) get lost in the as-gas "battle"... :(
    But I'm completely lost here, any help would be appreciated.
    Oh, yes, and one more (probably a more simple) question:
    if I can get past a problem during this build process, how on Earth can I continue, instead of beginning from the start again? :)
    (It takes more than an hour or so to get to this point, only to find out, it didn't work... again...)
    Thank you all!

    Well... I figured it out... :)
    A little bit later than I posted the above post, I found out that I need a newer version of binutils.
    (actually I found the info on gnu.org's website: http://gcc.gnu.org/install/specific.html#x-x-solaris2)
    Downloaded, installed, and everything went fine with Xorg's compilation - at first (I still don't get how and why...)
    But I ran into other errors, so I decided to build Xorg' s Xserver again (commented out the already built parts in build-from-tarballs.sh), and I got those assebler errors again (regarding illegal mnemonic).
    As I knew it was some kind of compiler specific error (I read about similar problems with cross-compiling) I checked xorg-xserver[version]/fb/Makefile, and I found an -msse flag. Removed it, and everything went fine, up until a new "make" attempt (which did a new configuration, and put the -msse flag back), and the same error...
    So I downloaded gcc-3.4.6's source, and built gcc (with the gcc 3.4.6 from sunfreeware (great site! :)). with the -with-cpu=athlon-xp flag.
    Removed the SMCgcc package, and installed my own gcc, and the compilation (assembler) error gone, things went smoothly. The -msse flag IS there, I checked the Makefile, so I think it has something to do with the way gcc was built.
    Thanks for reading!

  • Building wacom driver for tablet laptop

    Hi folks,
    Here's my problem: I am trying to build the latest wacom driver for my tablet laptop so I can use touch sensitivity in gimp and other applications. I seem to missing some libraries or some thing, this is the relevant part of ./configure:
    checking for valid Xorg SDK... "xf86Version.h missing"
    "Tried /usr/X11R6/lib/Server/include and WCM_XORGSDK/xc/include"
    ./configure: line 19566: cd: /usr/X11R6/lib/Server: No such file or directory
    and:
    *** WARNING:
    *** Unable to compile wacom_drv.{o,so} without XF86 build environment
    *** or Xorg SDK.
    *** wacom_drv.o will not be built
    What is the Xorg SDK (software development kit?) and does anyone know where I can get it? Will I have to build Xorg from source? I have done a search in pacman and on the website and can't seem to find anything.
    Note in other distros (ubuntu & gentoo) the package is called linuxwacom.
    Thanks in advance for an help!
    Ben

    Ok, were to start? 
    I've looked at the link to the wiki that Wain posted, there were not much instructions but guess that its just to C&P the package build and run it? So I did but got errors.
    First this.
    '/PKGBUILD: line 189: syntax error near unexpected token `{
    '/PKGBUILD: line 189: `getvar(){
    Then after the dependencies check and just after the "Starting build()..." I get this.
    /usr/bin/makepkg: line 599: build: command not found
    I searched the forum for the line 599 error and found a thread, but it didnt help much.
    But I did a namcap on PKGBUILD if that is to any use.
    PKGBUILD ("pkgname$_cfgname") E: Missing md5sums
    PKGBUILD ("pkgname$_cfgname") W: Missing Maintainer tag
    PKGBUILD ("pkgname$_cfgname") W: Missing CVS Id tag
    PKGBUILD ("pkgname$_cfgname") W: Reference to i686 should be changed to $CARCH
    Im unsure about the whole Kernel compilation part, I must done something wrong.:cry:
    So some help would be appreciated, I realy what my Voltio to work!

  • Arch VS. Arch64

    Hi .
    I would like to know a little bit more about the difference between normal Arch linux and Archlinux64?
    Is there some difference - do I get better performance out of using arch64. building a mediecenter and bougth an AMD64 ! Would I have better performance out of using arch64. ???

    Gullible Jones wrote:
    If you want something Arch-ish that fully supports 64-bit systems there is Frugalware.
    (I'm hoping that Arch will officially support x86-64 at some point though.)
    :evil:
    Frugal is far from beeing Arch-ish :!: And I don't see anything the x84-64 Frugalware port has that Arch64 hasn't.
    For a multileadia pc I would still prefer a 32bit OS. The gain of better codec support is it worth. The system is still fast enough that you will not see a noticeable difference to a 64bit OS.
    AndyRTR

  • [solved/cannot be solved]Xorg-server and gnome-power-manager

    I was wondering if there is hope that someone will put patches to main tree of Xorg-server which are here: http://blogs.gnome.org/hughsie/2009/08/ … of-bodges/
    It should remove this weird blanking effect and time gap before screen is backlighted again. I didn't tested it, because it requires rebuild of xorg-server and I don't want to use git version, but guys there says that it's working.
    Last edited by megawebmaster (2010-02-08 22:24:26)

    OK, thanks for advice, I'll try building xorg-server with ABS.
    I've got another problem with automatic turn off screen - media players don't prevent turning screen off while they are playing film. Is there any possibility to fix it? Only way I've found is to turn off automatic screen backlight off after couple of minutes, but it's not how tigers want this to work

  • [solved] yaourt -Sb [package]: [package] was not found on abs

    If I try to build anything from source with yaourt, it says it's not on abs.  However, the packages I am trying to build are in the abs.  For example,
    [max@pwn xorg-server]$ yaourt -Sb xorg-server
    ==> Building xorg-server from sources
    xorg-server was not found on abs
    xorg-server exists in /var/abs/extra, and the files to build it are there.  What can I do to fix this?
    Last edited by synthead (2008-05-03 23:20:59)

    i'l try and have a look at yaourt tonight,
    though i'm sure there must be a better way to fix this.
    for now, the patch below fixes srcpac,
    --- /usr/bin/srcpac 2007-05-01 04:36:03.000000000 +0100
    +++ /tmp/srcpac 2008-05-02 09:16:21.661341440 +0100
    @@ -483,7 +483,7 @@
    fi
    if [ $ROOT -eq 0 ]; then
    - build_packages "install" ${packages[@]}
    + build_packages "install" ${args[@]}
    else
    echo "This feature isn't done yet"
    fi
    sudo patch -i srcpac.patch /usr/bin/srcpac
    let me know if works, and then i'll submit it to the bug tracker
    Last edited by kumico (2008-05-02 08:23:40)

  • Is it possible not to use hal?

    Hi!
    I hear for some time that hal is going to be deprecated.
    I'm now installing another arch system and I thought that it can be a good opportunity to use the new methods of doing things.
    I wonder, is it possible to use the *kit stuff and udev and leave hal outside and still run xorg without an xorg.conf?
    If it's possible, is there any guide present?
    Thanks.

    SoleSoul wrote:Hi!
    I hear for some time that hal is going to be deprecated.
    I'm now installing another arch system and I thought that it can be a good opportunity to use the new methods of doing things.
    I wonder, is it possible to use the *kit stuff and udev and leave hal outside and still run xorg without an xorg.conf?
    If it's possible, is there any guide present?
    Thanks.
    Hi,
    yesterday i have found an patch to lets building xorg-server with udev instead of hal/dbus for detecting input devices. i have taken an quick look in this  but i cant get it work. i dont know where the patch comes from, or if this will be included in the next time. this patch can be found for minimyth, an small mediacenter distribution.
    look here:
    http://code.google.com/p/minimyth/source/detail?r=5787
    http://code.google.com/p/minimyth/sourc … 799&r=5799
    it would be nice if someone can test this to find out if this is working
    (i am write my own distro from scratch and dont use Archlinux but this is an "general feature")
    greetings
    Stephan
                  ### OpenELEC.tv ###
    The free and open Mediacenter Distribution 4 you
                 http://www.openelec.tv

  • [SOLVED] X issues since 3.14

    Since the update to 3,14 (and subsequent builds including 3.14.1-1) I have experienced issues with X on my T23.
    When my display manager is supposed to appear (I am using SLiM) the screen enters a continued loop with the screen falling back to the virtual console after each (failed) attempt to load the display manager.
    If I load the system in multi-user mode and try to start X with startx I end up with a black screen. I am nevertheless able to switch to tty1 and stop the server which stops without errors.
    When checking Xorg.0.log for what is logged during the loop the logging always stops at this point,
    [ 71.998] (II) LoadModule: "ddc"
    [ 71.998] (II) Module "ddc" already built-in
    I must note though that I am running a locally build xorg-server package (see here for more details).
    In order to see if that could have led to the problem I updated  to the current xorg-server package and switched to the vesa driver (yes, savage driver is uninstalled; I do not use the latest as its performance together with xorg without XAA support is pretty sluggish on this laptop).
    When using the vesa driver the endless loop does not happen but after not succeeding in loading display manager the screen stays at the virtual console. The log from X features the following errors,
    [ 30.864] (EE)
    [ 30.865] (EE) Backtrace:
    [ 30.867] (EE) 0: /usr/bin/X (xorg_backtrace+0x4f) [0x81e0d9f]
    [ 30.868] (EE) 1: /usr/bin/X (0x8048000+0x19cb64) [0x81e4b64]
    [ 30.868] (EE) 2: /usr/bin/X (0x8048000+0x1a9476) [0x81f1476]
    [ 30.868] (EE) 3: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb770040c]
    [ 30.868] (EE) 4: /usr/lib/libc.so.6 (0xb7304000+0x7d5f6) [0xb73815f6]
    [ 30.868] (EE)
    [ 30.869] (EE) Bus error at address 0xb5cc9000
    [ 30.869] (EE)
    Fatal server error:
    [ 30.869] (EE) Caught signal 7 (Bus error). Server aborting
    [ 30.869] (EE)
    [ 30.869] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 30.869] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 30.869] (EE)
    [ 32.832] (EE) Server terminated with error (1). Closing log file.
    When searching for this 'Bus error' I came across this forum thread though if it were a problem/bug with X I presume it wouldn't load either with the LTS kernel which it does, would it?
    Finally, if I too enter the system in multi-user with the vesa driver and run startx the same thing as with the savage driver happens, a black screen but I am able to switch to tty1 and stop the server which closes with no errors.
    Last edited by root (2014-05-01 19:56:59)

    Seems latest kernel build (3.14.2-1) fixes this issue. Marking as solved.

Maybe you are looking for