David,
     I updated the packaging in the 10.7 tree to llvm35-3.5.2-1 which
was tested with 'fink -m' on…

x86_64-apple-darwin11 using Xcode 4.6
x86_64-apple-darwin12 using Xcode 5.0.1
x86_64-apple-darwin13 using Xcode 6.2
x86_64-apple-darwin14 using Xcode 6.2

I noticed that the current packaging was broken on 10.7 using the
current cmake 3.2.1 but not cmake 3.1.2. The newer cmake seems to
tickle latent breakage in your llvm35 packaging. Compared to the
llvm34 packaging, you rely on STAGE1_LD_FLAGS which was dropping the
-L%p/lib from the linkage while still allowing -I%p/include to be used
in stage1. Changing the line…

STAGE1_LD_FLAGS="${STAGE1_LD_FLAGS[@]}"

to

STAGE1_LD_FLAGS="${STAGE1_LD_FLAGS[@]} ${LDFLAGS[@]}"

restored the proper linkage behavior and switched the stage1 linkages
from the system libncurses shared libraries to the fink ones.
     Unfortunately, this change doesn't seem to work for your current
llvm36 test packaging on 10.7 and I still see the failure…

Linking CXX shared module ../../../lib/LLVMPolly.so
ld: in '/usr/lib/libncurses.5.dylib', file was built for unsupported
file format ( 0xce 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 0 0x 3 0x 0 0x 0
0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked
(x86_64): /usr/lib/libncurses.5.dylib for architecture x86_64

however I also only see a single shared library linked against
libncurses in llvm36's failed stage1…

% otool -L libLLVMSupport.dylib | grep curses
/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0,
current version 5.0.0)

whereas in the llvm35 build almost everything gets linked against
libncurses. Perhaps there is some change buried in the llvm36 patches
applied that is causing this linkage change between the llvm35 and
llvm36 builds.
           Jack

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to