BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001257 [buildroot] Architecture Specific minor always 03-04-07 05:38 09-24-07 00:43
Reporter holin View Status public  
Assigned To buildroot
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001257: 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.
Additional Information
Attached Files  buildroot-070304-dlext.patch [^] (3,679 bytes) 03-04-07 05:38
 buildroot-070602-dlext-v2.patch [^] (2,879 bytes) 06-02-07 00:13
 buildroot-070602-dlext-v3.patch [^] (2,534 bytes) 06-02-07 02:24
 buildroot-070602-dlext-v4.patch [^] (2,851 bytes) 06-02-07 03:34
 buildroot-070603-dlext-fix.patch [^] (1,529 bytes) 06-03-07 00:38

- Relationships

- Notes
(0002427)
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.
 
(0002428)
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,
 
(0002429)
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.
 
(0002430)
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)
 
(0002431)
holin
06-02-07 02:25

Updated the patch to use LIBTGTEXT.
 
(0002432)
bernhardf
06-02-07 03:16

ugh! Let me wake up and get some coffee..
 
(0002433)
bernhardf
06-02-07 03:18

Turns out that of course LIBTGTEXT should rather be HOST_LIBEXT. Not sure what i was thinking about :-/

May i ask you to fix that too?
Many thanks in advance.
 
(0002434)
holin
06-02-07 03:35

Updated patch with LIBTGTEXT -> HOST_LIBEXT.
 
(0002435)
bernhardf
06-02-07 04:23

Applied, thanks. Please let me know when you think i can close this bug.
 
(0002440)
holin
06-03-07 00:41

Oops. I need my coffee, too. I misunderstood what TGTEXT was for (didn't follow the corresponding mailing list thread, actually.) Host builds need to use shared libs as makefile targets, because static ones aren't always built. Uploaded dlext-fix.patch, which fixes that. Apply the patch and this report can be closed.
 
(0002777)
bernhardf
09-24-07 00:43

This was applied some time ago. Thanks!
 

- 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
06-02-07 02:24 holin File Added: buildroot-070602-dlext-v3.patch
06-02-07 02:25 holin Note Added: 0002431
06-02-07 03:16 bernhardf Note Added: 0002432
06-02-07 03:18 bernhardf Note Added: 0002433
06-02-07 03:34 holin File Added: buildroot-070602-dlext-v4.patch
06-02-07 03:35 holin Note Added: 0002434
06-02-07 04:23 bernhardf Note Added: 0002435
06-03-07 00:38 holin File Added: buildroot-070603-dlext-fix.patch
06-03-07 00:41 holin Note Added: 0002440
09-24-07 00:43 bernhardf Status assigned => closed
09-24-07 00:43 bernhardf Note Added: 0002777
09-24-07 00:43 bernhardf Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker