[haiku-bugs] Re: [Haiku] #9912: Vertio_pci causes Jam quit, in Haiku x86_64

  • From: "Luposian" <trac@xxxxxxxxxxxx>
  • Date: Thu, 05 Sep 2013 07:44:50 -0000

#9912: Vertio_pci causes Jam quit, in Haiku x86_64
-------------------------+-------------------------
   Reporter:  Luposian   |      Owner:  nobody
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:  - General  |    Version:  R1/alpha4.1
 Resolution:             |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  x86-64
-------------------------+-------------------------

Comment (by Luposian):

 I downloaded hrev46016 of Haiku x86_64 from HaikuFiles and installed it
 (Sept. 4, 2013).

 I then downloaded the buildtools and the haiku directory from the
 following paths:

 Buildtools: git clone git://git.haiku-os.org/buildtools haiku/buildtools

 Haiku: git clone git://git.haiku-os.org/haiku haiku/haiku

 I then did this (all at separate prompts, but copy and pasting
 automatically does this for me, in Terminal):

 cd haiku/buildtools/jam
 make
 ./jam0 install

 Then this:

 cd ../../haiku

 And this:

 ./configure

 And, finally, this:

 jam -q haiku-image


 And, after several minutes of compiling stuff, JAM gives me the following
 spew and stops:


 MkDir1 generated/objects/haiku/x86_64/release/add-ons/kernel/busses/virtio
 C++ generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/virtio_pci.o
 src/add-ons/kernel/busses/virtio/virtio_pci.cpp: In function 'status_t
 init_bus(device_node*, void**)':
 src/add-ons/kernel/busses/virtio/virtio_pci.cpp:410:11: warning: unused
 variable 'status' [-Wunused-variable]
 C++ generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/kernel_cpp.o
 Link generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/virtio_pci
 generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/virtio_pci.o: In function `uninit_bus(void*)':
 virtio_pci.cpp:(.text+0x46e): undefined reference to `operator
 delete[](void*)'
 generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/virtio_pci.o: In function `setup_interrupt(void*,
 unsigned short)':
 virtio_pci.cpp:(.text+0xa82): undefined reference to `operator
 new[](unsigned long, std::nothrow_t const&)'
 collect2: ld returned 1 exit status

 rm -f "generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/virtio_pci"
 gcc -fno-strict-aliasing -fno-tree-vrp -Wno-array-bounds -Xlinker --no-
 undefined -nostdlib -Xlinker --no-undefined -Xlinker -soname="virtio_pci"
 -z max-page-size=0x1000 -o "generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/virtio_pci"
 "/boot/develop/abi/x86_64/gcc4/tools/gcc-4.6.2-haiku-120816/lib/gcc/x86_64
 -unknown-haiku/4.6.2/crtbegin.o"
 "generated/objects/haiku/x86_64/release/system/glue/haiku_version_glue.o"
 "generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/virtio_pci.o"
 "generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/kernel_cpp.o" \
 "generated/objects/haiku/x86_64/release/system/kernel/kernel.so"
 "/boot/develop/abi/x86_64/gcc4/tools/gcc-4.6.2-haiku-120816/lib/gcc/x86_64
 -unknown-haiku/4.6.2/libgcc.a"
 "/boot/develop/abi/x86_64/gcc4/tools/gcc-4.6.2-haiku-120816/lib/gcc/x86_64
 -unknown-haiku/4.6.2/crtend.o" \


 ...failed Link generated/objects/haiku/x86_64/release/add-
 ons/kernel/busses/virtio/virtio_pci ...

 BUILD FAILURE:
 ...failed updating 1 target(s)...
 ...skipped 2 target(s)...
 ...updated 644 target(s)...
 ~/haiku/haiku>

--
Ticket URL: <http://dev.haiku-os.org/ticket/9912#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: