| Summary: |
configure.ac and Pci.h conflicts about PCI_INIT function for x86 FreeBSD |
| Product: |
xorg
|
Reporter: |
Diego Elio Pettenò <flameeyes> |
| Component: |
Build/Modular | Assignee: |
Xorg Project Team <xorg-team> |
| Status: |
RESOLVED
DUPLICATE
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
high
|
CC: |
eric
|
| Version: |
unspecified | |
|
| Hardware: |
Other | |
|
| OS: |
FreeBSD | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Bug Depends on: |
|
|
|
| Bug Blocks: |
1690
|
|
|
| Attachments: |
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Seems like there's a conflict between configure.ac and hw/xfree86/os-support/bus/Pci.h... On the header there's this: #elif defined(__i386__) || defined(i386) # define ARCH_PCI_INIT ix86PciInit # define INCLUDE_XF86_MAP_PCI_MEM # define INCLUDE_XF86_NO_DOMAIN # if defined(linux) # define ARCH_PCI_OS_INIT linuxPciInit # endif #elif defined(__mc68000__) so it tries to use ix86PciInit for FreeBSD (as there's no #if defined for it). Bug in configure.ac there's: i*86) xorg_bus_ix86pci="yes" use_x86_asm="yes" I386_VIDEO=yes case $host_os in *linux*) DEFAULT_INT10=vm86 ;; *freebsd*) xorg_bus_ix86pci="no" AC_DEFINE(USE_DEV_IO) ;; *netbsd*) xorg_bus_ix86pci="no" AC_DEFINE(USE_I386_IOPL) ;; *openbsd*) xorg_bus_ix86pci="no" AC_DEFINE(USE_I386_IOPL) ;; esac ;; that disable ix86pci on FreeBSD, thus ix86Pci.c source file is not compiled, thus leading to undefined symbol later in the build process. I'm not sure what is the right way to fix this, if it's wrong the configure or the source file, but one of the two should be fixed... Thanks in advance, Diego