Bug#710025: glext-passthru.def:803: error: ‘ifunc’ attribute directive ignored

Vincent Cheng vincentc1208 at gmail.com
Mon May 27 17:33:15 UTC 2013


Hi Mathieu,

On Mon, May 27, 2013 at 8:24 AM, Mathieu Malaterre <malat at debian.org> wrote:
> Package: primus
> Severity: wishlist
>
>
> Looks like primus cannot be backported to wheezy easily. Compilation fails with:

You meant to say squeeze (+ backports) here, right? IIRC Aron has
confirmed that bbswitch+bumblebee+primus can be backported to wheezy
(and supposedly that bumblebee works), and he's already submitted
bbswitch and bumblebee to wheezy-backports in fact (primus hasn't
migrated to testing yet).

> dpkg-architecture: error: DEB_HOST_MULTIARCH is not a supported variable name
> dpkg-architecture: error: DEB_HOST_MULTIARCH is not a supported variable name
> make[1]: Entering directory `/tmp/primus-0~20130511'
> dh_auto_build -- LIBDIR=lib \
>       PRIMUS_libGLd=/usr/lib//libGL.so.1 \
>       PRIMUS_libGLa=/usr/lib//libGL.so.1
> make[2]: Entering directory `/tmp/primus-0~20130511'
> mkdir -p lib
> g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror=missing-declarations -Werror=attributes -DBUMBLEBEE_SOCKET='"/var/run/bumblebee.socket"' -DPRIMUS_SYNC='"0"' -DPRIMUS_VERBOSE='"1"' -DPRIMUS_DISPLAY='":8"' -DPRIMUS_LOAD_GLOBAL='"libglapi.so.0"' -DPRIMUS_libGLa='"/usr/lib//libGL.so.1"' -DPRIMUS_libGLd='"/usr/lib//libGL.so.1"' -fvisibility=hidden -fPIC -shared -Wl,-Bsymbolic -o lib/libGL.so.1 libglfork.cpp -lX11 -lpthread -lrt
> libglfork.cpp:870:2: warning: #warning Enabled workarounds for applications demanding more than promised by the OpenGL ABI
> In file included from libglfork.cpp:808:
> gl-passthru.def:2: error: ‘ifunc’ attribute directive ignored
> gl-passthru.def:3: error: ‘ifunc’ attribute directive ignored
> gl-passthru.def:4: error: ‘ifunc’ attribute directive ignored
> ...

A shot in the dark here, but maybe gcc in squeeze is too old? I see
ifunc being mentioned in the gcc 4.6 docs [1], but not that of gcc
4.4.

Regards,
Vincent

[1] http://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Function-Attributes.html



More information about the pkg-nvidia-devel mailing list