[OpenBIOS] [PATCH] Rename conflicting hfsplus files

Andreas Färber andreas.faerber at web.de
Thu Nov 18 23:33:05 CET 2010

Am 18.11.2010 um 00:05 schrieb Segher Boessenkool:

>> Files in fs/hfs and fs/hfsplus have same names, this causes problems
>> during linkage.
> That sounds like a bug in the build system.  Can you fix that instead?
> That would actually fix it, your patch is just an ugly band-aid :-(

As investigated previously, the problem occurs when the libfs.a  
library already exists and one of its source files changes. It seems  
like `ar' tries to do an incremental update of object files and gets  
confused about the identically named files within the archive,  
symptoms are missing (or duplicate?) symbols.

The reason I didn't rename the sources when I encountered the issue  
was that it seemed those files were imported from some external  
source; renaming them would make updating them harder. Someone  
suggested that configuring OpenBIOS in such a way that both are  
compiled in might be unnecessary.


More information about the OpenBIOS mailing list