[Mono-dev] Preview builds ignoring config parameters

Paul F. Johnson paul at all-the-johnsons.co.uk
Sat Sep 25 13:06:45 EDT 2010


I'm attempting to build mono-2.8 for fedora rawhide but keep hitting the
same problem. The build gets to the end and then comes up with 

extracting debug info
from /home/paul/rpmbuild/BUILDROOT/mono-2.8-1.fc15.i386/usr/lib/mono/2.0/mscorlib.dll.so
*** ERROR: No build ID note found
in /home/paul/rpmbuild/BUILDROOT/mono-2.8-1.fc15.i386/usr/lib/mono/2.0/mscorlib.dll.so

Googling around it says if I see this, I need to add to LDFLAGS
--build-id, so my build script now looks like this

export LDFLAGS="$LDFLAGS -Wl,--build-id"

%configure --with-ikvm-native=yes --with-jit=yes --with-xen_opt=yes \
           --with-moonlight=yes --with-profile2=yes \
           --with-libgdiplus=installed LDFLAGS="$LDFLAGS -Wl,--build-id"
%if %{with_mono4}

However, LDFLAGS is being ignored during the configure step (checked
this by looking at the generated Makefile in the root of mono-2.8

How can I fix this problem? It's stopping 2.8 hitting rawhide.


Vertraue mir, ich weiss, was ich mache...

More information about the Mono-devel-list mailing list