Dear maintainers,
I've updated LLVM in Rawhide to 2.9 (from the previous release candidate). Ideally I'd like to land this in F-16 too, but that needs to wait until all the dependent packages are at least buildable in Rawhide (there's a test update for F-16, but I'll probably yank it for now).
Apart from RC2->final, the other changes are: - enabling FFI - enabling RTTI - enabling multilib parallel installation
mesa, OpenGTL and pure build fine, however I'm having a problem building ldc:
ldc => http://koji.fedoraproject.org/koji/taskinfo?taskID=3249220
I'll request a buildroot override for llvm-2.9-2.fc16 once the ldc build problem is resolved; for the alpha release we'll stick with the current RC2.
Best regards,
On Wed, Aug 3, 2011 at 1:09 PM, Michel Alexandre Salim salimma@fedoraproject.org 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.
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@fedoraproject.org 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.
Thanks salim, i will report this to upstream
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@fedoraproject.org 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.
Thanks for this patch i will report to upstream
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@fedoraproject.org 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.
thanks
Hi Jonathan,
On Sun, Aug 7, 2011 at 11:40 PM, jonathan MERCIER bioinfornatics@gmail.com 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@fedoraproject.org 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_fi...
Thanks,