Bug 175117 - dev-libs/libusb-0.1.12-r1 always compiles c++ bindings, even when nocxx is set.
|
Bug#:
175117
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: minor
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: robbat2@gentoo.org
|
Reported By: oliver@schinagl.nl
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: dev-libs/libusb-0.1.12-r1 always compiles c++ bindings, even when nocxx is set.
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-04-18 15:54 0000
|
libusb has special c++ bindings (yuk) in usbcpp.cpp. However when building for
an embedded/c++ less system this causes failures and what not.
Ideally the configure script should check for c++ support and then simply not
build c++ bindings if we don't need them anyway, based on the nocxx flag.
An intermediate solution would be to require/depend on the nocxx flag to be
unset. Filing bug upstream aswell.
Reproducible: Always
Steps to Reproduce:
I've added liquidx to the cc list as he's mentioned as a co-maintainer of
libusb in the metadata... 5:)
please include a patch for the configure stuff that you want changed.
The "failures and what not" are some assembler errors about "unknown psuedo-op:
.weakref". I have found upgrading binutils from 2.16.1-r3 to 2.17 corrects the
issue.