LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Error compiling virtualbox 4.0.8 - missing .cfi_endproc directive (http://www.linuxquestions.org/questions/slackware-14/error-compiling-virtualbox-4-0-8-missing-cfi_endproc-directive-888536/)

Barx 06-27-2011 03:42 AM

Error compiling virtualbox 4.0.8 - missing .cfi_endproc directive
 
Hi

I'm trying to compile VB 4.0.8 using sbopkg

I'm running slackware current 32bit

I tried to compile 2 times, and I have always got this error

Code:

  LD      VBoxOGLhostcrutil
  CXX    VBoxSharedCrOpenGL - {C}/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
  CXX    VBoxDbg - {C}/src/VBox/Debugger/VBoxDbg.cpp
In file included from /tmp/SBo/VirtualBox-4.0.8_OSE/include/VBox/com/array.h:167:0,
                from /tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/Main/VBoxEvents.cpp:20:
/tmp/SBo/VirtualBox-4.0.8_OSE/include/VBox/com/defs.h: In destructor 'CComObject<Base>::~CComObject() [with Base = VRDEServerChangedEvent]':
/tmp/SBo/VirtualBox-4.0.8_OSE/include/VBox/com/defs.h:388:51: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:41945: Warning: partial line at end of file ignored
{standard input}:41945: Error: open CFI at the end of file; missing .cfi_endproc directive
kmk: *** [/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC/gen/Main/VBoxEvents.o] Error 1
The failing command:
@g++ -c -O2 -g -pipe -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-long-long -Wno-variadic-macros -Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar -fpermissive -fexceptions -frtti -march=i586 -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -m32 -I/tmp/SBo/VirtualBox-4.0.8_OSE/src/VBox/Main/include -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/Main/ -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/string -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/nsprpub -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/ipcd -I/tmp/SBo/VirtualBox-4.0.8_OSE/include -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/lib/virtualbox\" -DRTPATH_APP_DOCS=\"\" -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -D_LARGEFILE64_SOURCE -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DVBOX_WITH_XPCOM_NAMESPACE_CLEANUP -DIN_RING3 -DVBOX_WITH_SYS_V_IPC_SESSION_WATCHER -DVBOX_WITH_RAW_MODE -DVBOX_WITH_NETFLT -DVBOX_WITH_CROGL -DVBOX_WITH_GUEST_PROPS -DVBOX_WITH_GUEST_CONTROL -DVBOX_WITH_HOSTNETIF_API -DVBOX_WITH_VDE -DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_COM_INPROC -DVBOX_WITH_VRDP_VIDEO_CHANNEL -DVBOX_WITH_HGCM -DVBOX_WITH_ALSA -DVBOX_WITH_CROSSBOW -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_EFI -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_VUSB -DVBOX_WITH_HGSMI -DVBOX_WITH_VIDEOHWACCEL -DVBOX_WITH_USB -DVBOX_WITH_EXTPACK -DVBOX_WITH_CRHGSMI -Wp,-MD,/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC/gen/Main/VBoxEvents.o.dep -Wp,-MT,/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC/gen/Main/VBoxEvents.o -Wp,-MP -o /tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC/gen/Main/VBoxEvents.o /tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/Main/VBoxEvents.cpp
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2

any hint?

PS. DON'T tell me to download and use the precompiled version. I'd like to run the OSE edition.

best regards

Alessandro

wildwizard 06-27-2011 03:52 AM

Quote:

Originally Posted by Barx (Post 4396695)
internal compiler error: Segmentation fault

When I see this I pull out memtest.

Barx 06-28-2011 03:24 AM

ok i'll run some memory test

tnx

Alessandro


All times are GMT -5. The time now is 05:24 PM.