Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED]Problem with emerging dev-lang/mono

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
kohina
n00b
n00b
User avatar
Posts: 10
Joined: Wed Dec 21, 2016 12:10 pm

[SOLVED]Problem with emerging dev-lang/mono

  • Quote

Post by kohina » Sat Dec 24, 2016 5:19 pm

I have been having issues with compiling mono-4.4.1.0(the one emerge offers me anyway) on my box. The things I've done so far:

1) emerge -e @system && emerge -e @world
2) recompiled gcc and did gcc-config stuff
3) rebooted and switched to hardened gentoo (for a different reason)
4) did step 1. with hardened settings and gcc and binutils
5) updated kernel to 4.7.10-hardened
6)rebooted and tried to emerge --ask dev-lang/mono and still fails

here is the latest[/code] buildlog

Code: Select all

libtool: link: i486-pc-linux-gnu-ranlib .libs/libmonoruntimesgen.a
libtool: link: rm -fr .libs/libmonoruntimesgen.lax
libtool: link: ( cd ".libs" && rm -f "libmonoruntimesgen.la" && ln -s "../libmonoruntimesgen.la" "libmonoruntimesgen.la" )
../../doltlibtool  --tag=CC   --mode=link i486-pc-linux-gnu-gcc  -O2 -march=i486 -pipe -std=gnu99 -fno-strict-aliasing -fwrapv -DMONO_DLL_EXPORT -Wno-unused-but-set-variable -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes -Werror-implicit-function-declaration  -Wl,-O1 -Wl,--as-needed -o pedump pedump.o libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la ../../libgc/libmonogc.la -L../../eglib/src -leglib -lm -lm   -lm -lrt  -ldl -lpthread
libtool: link: i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -std=gnu99 -fno-strict-aliasing -fwrapv -DMONO_DLL_EXPORT -Wno-unused-but-set-variable -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes -Werror-implicit-function-declaration -Wl,-O1 -Wl,--as-needed -o pedump pedump.o  ./.libs/libmonoruntime.a ../io-layer/.libs/libwapi.a ../utils/.libs/libmonoutils.a ../../libgc/.libs/libmonogc.a -L../../eglib/src /var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/eglib/src/.libs/libeglib.a -lm -lrt -ldl -lpthread
./.libs/libmonoruntime.a(libmonoruntime_la-threads.o): In function `InterlockedIncrement64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:290: undefined reference to `__sync_add_and_fetch_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threads.o): In function `InterlockedDecrement64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:295: undefined reference to `__sync_sub_and_fetch_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threads.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threads.o): In function `InterlockedAdd64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:285: undefined reference to `__sync_add_and_fetch_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threads.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threads.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedCompareExchange64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:280: undefined reference to `__sync_val_compare_and_swap_8'
./.libs/libmonoruntime.a(libmonoruntime_la-threadpool-ms.o): In function `InterlockedRead64':
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata/../../mono/utils/atomic.h:306: undefined reference to `__sync_fetch_and_add_8'
collect2: error: ld returned 1 exit status
Makefile:1289: recipe for target 'pedump' failed
make[3]: *** [pedump] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono/metadata'
Makefile:435: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86/mono'
Makefile:513: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86'
Makefile:442: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: dev-lang/mono-4.4.1.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/mono-4.4.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/mono-4.4.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/mono-4.4.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mono-4.4.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1'
Last edited by kohina on Tue Jan 10, 2017 2:16 pm, edited 1 time in total.
I was once surrounded by beautiful gentoo boxen but they've all withered away due to portagetic arrest (death resulting from portage failure). The atom, the core2duo, the athlon... may these brave souls find peace in the afterlife.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat Dec 24, 2016 8:58 pm

Read here
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
kohina
n00b
n00b
User avatar
Posts: 10
Joined: Wed Dec 21, 2016 12:10 pm

  • Quote

Post by kohina » Sat Dec 24, 2016 11:30 pm

fedeliallalinea wrote:Read here
Thanks! I feel really stupid now because I forgot the fact that the CPU in this box is +i686 capable and 64-bit. Now I'm changing my cflags and chost to -march=native and i686. After that I'll keep going and I'm optimistic that the problem will be solved plus I'll be one chost change smarter.

Cheers and a good day.

EDIT: will change this to solved if my box works after emerge -e @world. Will post more information later.
I was once surrounded by beautiful gentoo boxen but they've all withered away due to portagetic arrest (death resulting from portage failure). The atom, the core2duo, the athlon... may these brave souls find peace in the afterlife.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic