Hi Jonathan, On Sun, Aug 7, 2011 at 11:40 PM, jonathan MERCIER <bioinfornatics@xxxxxxxxx> wrote: > Le mercredi 03 août 2011 à 13:36 +0200, Michel Alexandre Salim a écrit : >> On Wed, Aug 3, 2011 at 1:09 PM, Michel Alexandre Salim >> <salimma@xxxxxxxxxxxxxxxxx> wrote: >> > Apart from RC2->final, the other changes are: >> ... >> > - enabling multilib parallel installation >> >> > ldc => http://koji.fedoraproject.org/koji/taskinfo?taskID=3249220 >> > >> Turns out this is causing the build failure; ldc sources one of the >> arch-dependent config files that I've renamed to support multilib >> installation. >> >> Patching CMakeLists.txt to look for the correct file fixes this; I've >> rebuilt it for Rawhide. Would be nice if ldc could simply retrieve its >> configuration settings using llvm-config or by actually #include-ing >> config.h from a stub C program, though, rather than reading it >> directly. >> > > i have take a look, config-*.h is in fedora only and llvm-config do not > give config-*.h and if they are config-32.h config-64.h how choose. > Under most conditions, you *don't* have to choose. There is a config.h file that, if you #include on a machine with wordsize == 32, will include config-32.h for you, and likewise if wordsize == 64. The problem in this case is that ldc *sources* config.h directly, so the C preprocessor has no chance to process this further. Since this solution is only needed on multilib systems, you probably don't have to send it to upstream; just make sure you know how to maintain the modification (ping me if there's any problem with it in the future). See http://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks#myautoconf.h_files_with_a_size_in_them Thanks, -- Michel Alexandre Salim Fedora Project Contributor: http://fedoraproject.org/ Email: salimma@xxxxxxxxxxxxxxxxx | GPG key ID: 78884778 Jabber: hircus@xxxxxxxxxxxxx | IRC: hircus@xxxxxxxxxxxxxxxx () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel