Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 146301
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 146424
Assigned To: dotnet <dotnet@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Philippi <gentoo@torangan.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 146301 depends on: Show dependency tree
Bug 146301 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-04 12:22 0000
make[8]: Entering directory
`/var/tmp/portage/mono-1.1.17.1/work/mono-1.1.17.1/mcs/class/Mono.Security'
MONO_PATH="../../class/lib/net_2_0_bootstrap:$MONO_PATH"
/var/tmp/portage/mono-1.1.17.1/work/mono-1.1.17.1/runtime/mono-wrapper 
../../class/lib/net_2_0_bootstrap/mcs.exe /codepage:28591   -d:NET_1_1
-d:BOOTSTRAP_NET_2_0 -debug /noconfig -r:System.dll -unsafe -target:library
-out:Mono.Security.dll  @Mono.Security.dll.sources

** (../../class/lib/net_2_0_bootstrap/mcs.exe:11725): WARNING **: Missing
method .ctor in assembly
/usr/lib64/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll, type
System.Runtime.CompilerServices.RuntimeCompatibilityAttribute

** ERROR **: Can't find custom attr constructor image:
/usr/lib64/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll mtoken: 0x0a000041
aborting...

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

  at (wrapper managed-to-native) System.AppDomain.LoadAssembly
(string,System.Security.Policy.Evidence,bool) <0x0000e>
  at (wrapper managed-to-native) System.AppDomain.LoadAssembly
(string,System.Security.Policy.Evidence,bool) <0xffffffff>
  at System.AppDomain.Load (string) <0x0002c>
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load (string)
<0xffffffff>
  at System.Reflection.Assembly.Load (string) <0x00026>
  at System.Text.Encoding.InvokeI18N (string,object[]) <0x000b5>
  at System.Text.Encoding.GetEncoding (string) <0x001f1>
  at System.Text.Encoding.get_Default () <0x0008c>
  at System.Console..cctor () <0x00112>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
  at Mono.CSharp.Report..cctor () <0xffffffff>
  at Mono.CSharp.Report..cctor () <0x00012>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

       
/var/tmp/portage/mono-1.1.17.1/work/mono-1.1.17.1/mono/mini/mono(mono_handle_native_sigsegv+0xe4)
[0x53fe04]
        /lib/libpthread.so.0 [0x2b28e0bf1ca0]
        /lib/libc.so.6(gsignal+0x35) [0x2b28e0e80575]
        /lib/libc.so.6(abort+0x10e) [0x2b28e0e8177e]
        /usr/lib/libglib-2.0.so.0 [0x2b28e0a817ab]
        /usr/lib/libglib-2.0.so.0(g_log+0x80) [0x2b28e0a81830]
       
/var/tmp/portage/mono-1.1.17.1/work/mono-1.1.17.1/mono/mini/mono(mono_custom_attrs_from_index+0x1ff)
[0x487cff]
       
/var/tmp/portage/mono-1.1.17.1/work/mono-1.1.17.1/mono/mini/mono(mono_assembly_load_from_full+0x3fd)
[0x4640cd]
       
/var/tmp/portage/mono-1.1.17.1/work/mono-1.1.17.1/mono/mini/mono(mono_assembly_open_full+0x2a9)
[0x4644d9]
       
/var/tmp/portage/mono-1.1.17.1/work/mono-1.1.17.1/mono/mini/mono(mono_assembly_load_full+0xb68)
[0x465258]
        /var/tmp/portage/mono-1.1.17.1/work/mono-1.1.17.1/mono/mini/mono
[0x484b93]
        [0x4001f609]

***********************************************

Portage 2.1.1_rc1-r3 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla,
glibc-2.4-r3, 2.6.17-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
Last Sync: Mon, 04 Sep 2006 15:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -msse3 -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf
/etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -msse3 -fvisibility-inlines-hidden -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cdr cli
crypt cups dbus dlloader dri dvb dvd eds elibc_glibc emboss encode ffmpeg
foomaticdb fortran gif gpm gstreamer gtk2 hal imlib input_devices_evdev
input_devices_keyboard input_devices_mouse isdnlog jpeg kde kdeenablefinal
kdehiddenvisibility kdenewldflags kernel_linux linguas_de lzw lzw-tiff mad mp3
mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png pppd python
qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse3 ssl
tcpd theora tiff truetype-fonts type1-fonts unicode usb userland_GNU
userlocales video_cards_nv vorbis x264 xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS



Maybe a -Wl,--as-needed bug? I'm not sure because I don't see which lib I'd
have to recompile. Just removing it for the compile of mono doesn't change the
error.

------- Comment #1 From Saleem Abdulrasool (RETIRED) 2006-09-04 12:24:35 0000 -------
please rebuild, dropping the -ftree-vectorize and -fvisibility-inlines-hidden

------- Comment #2 From Peter Johanson (RETIRED) 2006-09-04 12:36:07 0000 -------
If that fails (it probably will), this will almost assuradly work if you remove
your installed mono, and then try to emerge this mono version.

------- Comment #3 From David Philippi 2006-09-04 13:06:28 0000 -------
Good catch, removing the installed mono did fix the bug so it looks like some
wrong include/lib path?

------- Comment #4 From David Philippi 2006-09-04 13:22:08 0000 -------
I forgot to mention - it works even with my aggressive flags.

------- Comment #5 From DEMAINE Benoît-Pierre, aka DoubleHP 2006-09-05 10:49:01 0000 -------
Gentoo Base System version 1.12.4
Portage 2.1.1_rc1-r4 (default-linux/x86/2005.1, gcc-3.4.6/vanilla,
glibc-2.4-r3, 2.6.17-gentoo-r5-Gentoo-moon_08 i686)
=================================================================
System uname: 2.6.17-gentoo-r5-Gentoo-moon_08 i686 mobile AMD Athlon(tm) 4
Processor
Last Sync: Tue, 05 Sep 2006 10:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.ISO-8859-15"
LC_ALL="en_GB.ISO-8859-15"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/tmp"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/mnt/big"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx X a52 aac aalib acpi aim alsa amr amuled ao apache2 apic apm arts
audiofile avi bash-completion berkdb bidi binfilter bitmap-fonts bl bonjour
bootsplash cdda cdparanoia cdr cjk cli cmov cpudetection crypt cups curl cx8
dbus de dga directfb djvu dlloader dmi dmx doc dri dts dv dvb dvd dvdread dvi
dynamic eds elibc_glibc emboss encode esd ethereal examples fam fbcon ffmpeg
firefox flac flash foomaticdb fortran fping fpu freetype fxsr gdbm ggi gif
gnome gnutls gpm gs gstreamer gtk gtk2 httpd i8x0 icq idea idn ieee1394
imagemagick imlib input_devices_evdev input_devices_keyboard
input_devices_mouse ipv6 irc isdnlog jabber jack java javascript jpeg kde
kernel_linux lcms libcaca libg++ libwww linguas_en linguas_fr lirc
lirc_devices_usbirboy listentcp live lj logrotate lzo mad matrox mca mce mikmod
mmx mmxext mono motif mozcalendar mp3 mpeg mplayer msn msr mtrr mtyhtv ncurses
network nls no-htdocs nptl nptlonly nsplugin offensive ogg oggvorbis opengl oss
pae pam pat pcre pdflib perl pge png pppd pse pse36 python qt3 qt4 quicktime
rar readline real reflection rss rtc rtsp samba screen sdl sensord sep server
session silc skey skins sndfile speex spell spl sse ssl startup-notification
stream subtitles svg svga swat symlink tcpd tga theora threads tiff transmitter
truetype truetype-fonts tsc type1-fonts udev unicode urandom usb userland_GNU
v4l v4l2 vcd video_cards_apm video_cards_chips video_cards_cirrus
video_cards_fbdev video_cards_i128 video_cards_i810 video_cards_mga
video_cards_nv video_cards_s3 video_cards_s3virge video_cards_sis
video_cards_tdfx video_cards_tga video_cards_trident video_cards_v4l
video_cards_vesa video_cards_vga video_cards_via vim vlm vme vorbis win32codecs
wmf wxwindows x264 xanim xinerama xml2 xmms xorg xosd xscreensaver xv xvid xvmc
yahoo zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS



I dont have -ftree-vectorize and -fvisibility-inlines-hidden and stil got

** (../../class/lib/net_2_0_bootstrap/mcs.exe:20529): WARNING **: Missing
method .ctor in assembly
/usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll, type
System.Runtime.CompilerServices.RuntimeCompatibilityAttribute

** ERROR **: Can't find custom attr constructor image:
/usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll mtoken: 0x0a00003f

(no need to put more of it)

I am tired of having to manually remove mono at each emerge world  !

------- Comment #6 From DEMAINE Benoît-Pierre, aka DoubleHP 2006-09-05 10:57:07 0000 -------
please mark this bug dup of #146424

------- Comment #7 From Jurek Bartuszek 2006-10-22 08:18:05 0000 -------

*** This bug has been marked as a duplicate of 146424 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug