2009/11/14 Nicolas Chauvet <kwizart(a)gmail.com>:
2009/11/13 Dominik 'Rathann' Mierzejewski
<dominik(a)greysector.net>:
> On Thursday, 12 November 2009 at 23:37, Nicolas Chauvet wrote:
>> 2009/11/10 Thorsten Leemhuis <fedora(a)leemhuis.info>:
>> > Hi!
>> >
>> > Our rawhide trees seem to be in a mostly sane state now. Here is a list
>> > of steps I'm aware of before the Everything repos for F12 can be
created:
>> >
>> > - move the nvidia-driver to the nonfree-updates-testing repositories, as
>> > requested by kwizart (#928)
>> One of the task that would help to solve this problem with selinux
>> will be to review nvidia-xconfig and nvidia-settings, because thoses
>> will not be hitten by the selinux denials. (whereas the pre-built
>> equivalent will, as rpmlint shows).
>>
>> For the record, the nvidia pre-built binaries have a compatibility
>> mode from linux 2.4.1 (whereas fedora 11 has linux 2.6.18). It also
>> means that the flag to verify that the binary doesn't requires
>> execstack is off (because it doesn't exist at all). I might workaround
>> it for libraries IIRC but I'm not aware of such workaround with
>> binaries.
>
> How about using execstack -c on them?
I forgot about this one, this will probably help.
But they will need to stay in updates-testing for now. As this need
to be really tested.
It won't works for i386 binaries whereas it works for
x86_64; and also
works for libraries of both arches:
+ find /builddir/build/BUILDROOT/xorg-x11-drv-nvidia-190.42-3.fc12.i386/usr/lib/nvidia
-name '*.so.*' -type f -exec execstack -c '{}' ';'
+ execstack -c
/builddir/build/BUILDROOT/xorg-x11-drv-nvidia-190.42-3.fc12.i386/usr/lib/xorg/modules/extensions/nvidia/libglx.so.190.42
+ execstack -c
/builddir/build/BUILDROOT/xorg-x11-drv-nvidia-190.42-3.fc12.i386/usr/lib/xorg/modules/drivers/nvidia_drv.so
+ execstack -c
/builddir/build/BUILDROOT/xorg-x11-drv-nvidia-190.42-3.fc12.i386/usr/bin/nvidia-settings
/builddir/build/BUILDROOT/xorg-x11-drv-nvidia-190.42-3.fc12.i386/usr/bin/nvidia-smi
execstack:
/builddir/build/BUILDROOT/xorg-x11-drv-nvidia-190.42-3.fc12.i386/usr/bin/nvidia-settings:
Reshuffling of objects to make room for
program header entry only supported for shared libraries
execstack:
/builddir/build/BUILDROOT/xorg-x11-drv-nvidia-190.42-3.fc12.i386/usr/bin/nvidia-smi:
Reshuffling of objects to make room for
program header entry only supported for shared libraries
error: Bad exit status from /var/tmp/rpm-tmp.m2qSy6 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.m2qSy6 (%install)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.