[Buildroot] [buildroot 0001257]: Some build targets use hard-coded library names, which causes forced rebuild on Mac OS X

bugs at busybox.net bugs at busybox.net
Sat Jun 2 09:07:40 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1257 
====================================================================== 
Reported By:                holin
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1257
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-04-2007 05:38 PST
Last Modified:              06-02-2007 02:07 PDT
====================================================================== 
Summary:                    Some build targets use hard-coded library names,
which causes forced rebuild on Mac OS X
Description: 
Library names ending with .so should have .dylib in makefile targets on OS
X. Otherwise, the build system always thinks that the library isn't built
and tries to (re-)build it on every make invocation. Attached a patch that
adds a config option for library filename extension and fixes the packages
that seemed to suffer from this. 
====================================================================== 

---------------------------------------------------------------------- 
 holin - 06-02-07 00:14  
---------------------------------------------------------------------- 
Attached an updated patch for current SVN. Some EXEEXTs would probably be
needed in binutils.mk makerules for Windows hosts. 

---------------------------------------------------------------------- 
 bernhardf - 06-02-07 01:46  
---------------------------------------------------------------------- 
You have to use LIBTGTEXT where possible (i.e. in packages that can be
built as static or dynamic library). See the toplevel Makefile for
LIBTGTEXT.

Please update the patch accordingly.
thanks, 

---------------------------------------------------------------------- 
 bernhardf - 06-02-07 02:01  
---------------------------------------------------------------------- 
erm. You're concerned about the host extensions, right?

If so, then you'll have to add HOST_EXEEXT et al and use them where
needed. 

---------------------------------------------------------------------- 
 holin - 06-02-07 02:07  
---------------------------------------------------------------------- 
What?!? No way! Buildroot target is always linux, isn't it? And Linux
always uses the same extensions. What other use would EXEEXT, et al. have?
They are derived from the (BR2_GNU_BUILD_SUFFIX) build toolchain suffix,
which comes from the host system. (host=build system, target="run" target) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-04-07 05:38  holin          New Issue                                    
03-04-07 05:38  holin          Status                   new => assigned     
03-04-07 05:38  holin          Assigned To               => buildroot       
03-04-07 05:38  holin          File Added: buildroot-070304-dlext.patch         
          
03-31-07 09:43  bendiken       Issue Monitored: bendiken                    
06-02-07 00:13  holin          File Added: buildroot-070602-dlext-v2.patch      
             
06-02-07 00:14  holin          Note Added: 0002427                          
06-02-07 01:46  bernhardf      Note Added: 0002428                          
06-02-07 02:01  bernhardf      Note Added: 0002429                          
06-02-07 02:07  holin          Note Added: 0002430                          
======================================================================




More information about the buildroot mailing list