Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54794 - gapi_codegen.exe segfaults
Summary: gapi_codegen.exe segfaults
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
Depends on:
Reported: 2004-06-22 12:43 UTC by Benjamin Schindler (RETIRED)
Modified: 2004-08-20 11:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Schindler (RETIRED) gentoo-dev 2004-06-22 12:43:48 UTC
Ok - I've done some hacking:

I emerged mono-0.96 and then I wanted to get to run monodevelop. It needs gtk-sharp, which I had to keyword in order to make it emerge. Gtk-sharp configure complained, that it couldn't find mono (pkg_config error). I figured, that there was no mono.pc in /usr/lib/pkgconfig (Is this a bug? There should be a mono.pc - right?). I configured mono from hand and then copied mono.pc from the source tree to /usr/lib/pkgconfig. Now, when I try emerging gtk-sharp, but I get a segfault:

make[2]: Entering directory `/var/tmp/portage/gtk-sharp-0.98/work/gtk-sharp-0.98/generator'
/usr/bin/mcs /out:gapi_codegen.exe  ./AliasGen.cs ./BoxedGen.cs ./ByRefGen.cs ./CallbackGen.cs ./ClassBase.cs ./ClassGen.cs ./CodeGenerator.cs ./ConstStringGen.cs ./Ctor.cs ./CustomMarshalerGen.cs ./EnumGen.cs ./Field.cs ./GenBase.cs ./GenerationInfo.cs ./GObjectGen.cs ./IGeneratable.cs ./ImportSignature.cs ./InterfaceGen.cs ./ManagedCallString.cs ./ManualGen.cs ./MethodBody.cs ./Method.cs ./ObjectGen.cs ./OpaqueGen.cs ./Parameters.cs ./Parser.cs ./Property.cs ./Signal.cs ./SignalHandler.cs ./Signature.cs ./SimpleGen.cs ./Statistics.cs ./StringGen.cs ./StructBase.cs ./StructGen.cs ./SymbolTable.cs ./TimeTGen.cs ./VMSignature.cs
make[2]: *** [gapi_codegen.exe] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-0.98/work/gtk-sharp-0.98/generator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-0.98/work/gtk-sharp-0.98'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk-sharp-0.98 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. Create a mono.pc file (use the one from the source-tree)
2. unmask gtk-sharp
3. emerge gtk-sharp

Actual Results:  

Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-,
System uname: 2.6.7-gentoo x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -march=k8 -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=k8 -fomit-frame-pointer"
FEATURES="autoaddcvs ccache sandbox"
USE="X acpi alsa amd64 apm arts avi berkdb bonobo cdr crypt cups dvd encode esd
foomaticdb gdbm ggi gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde
libg++ libwww mikmod motif mozilla mpeg multilib ncurses nls nogcj oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang
spell ssl tcltk tcpd truetype unicode xml2 xmms xv zlib"
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-06-28 15:51:06 UTC
Absinthe: i know you're a java guy... are you on mono as well ? If yes, could you have a look at this ?
Comment 2 Benjamin Schindler (RETIRED) gentoo-dev 2004-06-29 12:29:21 UTC
Just a little question: 
It seems, the mono-compiler hasn't been ported over to amd64 - which would explain that there is no mono.pc.
I know the libraries are ported - but the compiler?
Just a question
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2004-08-20 11:36:23 UTC
Benjamin is right. <=Mono-1.0.1 is not supposed to run on amd64. CANTFIX