Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [buildroot 0001582]: libusb tries to build c++ library even if compiler not available
@ 2007-11-09  3:03 bugs at busybox.net
  0 siblings, 0 replies; 3+ messages in thread
From: bugs at busybox.net @ 2007-11-09  3:03 UTC (permalink / raw)
  To: buildroot


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1582 
====================================================================== 
Reported By:                hmoffatt
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1582
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-08-2007 19:03 PST
Last Modified:              11-08-2007 19:03 PST
====================================================================== 
Summary:                    libusb tries to build c++ library even if compiler
not available
Description: 
libusb tries to build a C++ library (libusbpp) even if cross-g++ is not
available. It actually tries to use the host compiler, then complains
about mixing objects from the host and target platforms at link time.

My fix was to disable the C++ library and also the test suite which uses
it, in the attached patch. There doesn't seem to be a configure option in
libusb to disable that more cleanly.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-08-07 19:03  hmoffatt       New Issue                                    
11-08-07 19:03  hmoffatt       Status                   new => assigned     
11-08-07 19:03  hmoffatt       Assigned To               => buildroot       
11-08-07 19:03  hmoffatt       File Added: br-libusb-cpp.mk                    
======================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [buildroot 0001582]: libusb tries to build c++ library even if compiler not available
@ 2007-11-09  9:27 bugs at busybox.net
  0 siblings, 0 replies; 3+ messages in thread
From: bugs at busybox.net @ 2007-11-09  9:27 UTC (permalink / raw)
  To: buildroot


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1582 
====================================================================== 
Reported By:                hmoffatt
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1582
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-08-2007 19:03 PST
Last Modified:              11-09-2007 01:27 PST
====================================================================== 
Summary:                    libusb tries to build c++ library even if compiler
not available
Description: 
libusb tries to build a C++ library (libusbpp) even if cross-g++ is not
available. It actually tries to use the host compiler, then complains
about mixing objects from the host and target platforms at link time.

My fix was to disable the C++ library and also the test suite which uses
it, in the attached patch. There doesn't seem to be a configure option in
libusb to disable that more cleanly.
====================================================================== 

---------------------------------------------------------------------- 
 vanokuten - 11-09-07 01:27  
---------------------------------------------------------------------- 
Applied, thanks! in r20389 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-08-07 19:03  hmoffatt       New Issue                                    
11-08-07 19:03  hmoffatt       Status                   new => assigned     
11-08-07 19:03  hmoffatt       Assigned To               => buildroot       
11-08-07 19:03  hmoffatt       File Added: br-libusb-cpp.mk                    
11-09-07 01:27  vanokuten      Note Added: 0002899                          
======================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [buildroot 0001582]: libusb tries to build c++ library even if compiler not available
@ 2007-11-09  9:28 bugs at busybox.net
  0 siblings, 0 replies; 3+ messages in thread
From: bugs at busybox.net @ 2007-11-09  9:28 UTC (permalink / raw)
  To: buildroot


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1582 
====================================================================== 
Reported By:                hmoffatt
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1582
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             11-08-2007 19:03 PST
Last Modified:              11-09-2007 01:28 PST
====================================================================== 
Summary:                    libusb tries to build c++ library even if compiler
not available
Description: 
libusb tries to build a C++ library (libusbpp) even if cross-g++ is not
available. It actually tries to use the host compiler, then complains
about mixing objects from the host and target platforms at link time.

My fix was to disable the C++ library and also the test suite which uses
it, in the attached patch. There doesn't seem to be a configure option in
libusb to disable that more cleanly.
====================================================================== 

---------------------------------------------------------------------- 
 vanokuten - 11-09-07 01:27  
---------------------------------------------------------------------- 
Applied, thanks! in r20389 

---------------------------------------------------------------------- 
 vanokuten - 11-09-07 01:28  
---------------------------------------------------------------------- 
fixed in r20389 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-08-07 19:03  hmoffatt       New Issue                                    
11-08-07 19:03  hmoffatt       Status                   new => assigned     
11-08-07 19:03  hmoffatt       Assigned To               => buildroot       
11-08-07 19:03  hmoffatt       File Added: br-libusb-cpp.mk                    
11-09-07 01:27  vanokuten      Note Added: 0002899                          
11-09-07 01:28  vanokuten      Status                   assigned => closed  
11-09-07 01:28  vanokuten      Note Added: 0002900                          
======================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-09  9:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09  9:28 [Buildroot] [buildroot 0001582]: libusb tries to build c++ library even if compiler not available bugs at busybox.net
  -- strict thread matches above, loose matches on Subject: below --
2007-11-09  9:27 bugs at busybox.net
2007-11-09  3:03 bugs at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox