[haiku-bugs] [Haiku] #15832: Makefile Engine does not build drivers on x86_64

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 26 Mar 2020 07:27:18 -0000

#15832: Makefile Engine does not build drivers on x86_64
--------------------------+------------------------------
 Reporter:  nielx         |        Owner:  bonefish
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  Unscheduled
Component:  Build System  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 I am using the Makefile engine to try to compile a driver.

 On x86 I get the following output:
 {{{
 mkdir -p objects.x86-cc2-release; \
 mkdepend  -I./ -p .c:objects.x86-cc2-release/%n.o -m -f
 "objects.x86-cc2-release/i2c_hid.d" i2c_hid.c
 cc -c i2c_hid.c  -I./ -I-  -D_KERNEL_MODE=1 -fno-pic -O3    -o
 "objects.x86-cc2-release/i2c_hid.o"
 cc -o "objects.x86-cc2-release/i2c_hid"
 objects.x86-cc2-release/i2c_hid.o  -nostdlib
 /boot/system/develop/lib/_KERNEL_
 /boot/system/develop/lib/haiku_version_glue.o  -L./
 xres -o objects.x86-cc2-release/i2c_hid
 mimeset -f "objects.x86-cc2-release/i2c_hid"
 }}}

 On x86_64, the output is as follows:

 {{{
 (coming soon)
 }}}

 To try, please clone https://github.com/nielx/i2c_hid
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15832>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: