pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New package lightspark a flash 9 10 and 11 player pre-requisite package.



On Thu, 19 Dec 2013 08:20:45 AM Thomas Klausner wrote:
> On Mon, Dec 09, 2013 at 10:23:01PM +1100, Nat Sloss wrote:
> > So I've created another small package llvm-rtlib which provides
> > libcompiler-rt.a and dynamic versions depending on the os it is built
> > for.
> > 
> > It currently builds version 3.3 of the library to coincide with clang
> > from pkgsrc current.
> 
> I've tried this on 6.99.28/amd64, but it didn't build:
> 
> In file included from
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /asan/asan_allocator2.cc:18: In file included from
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /asan/asan_allocator.h:18: In file included from
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /asan/asan_internal.h:17: In file included from
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /asan/asan_flags.h:18: In file included from
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /sanitizer_common/sanitizer_internal_defs.h:16:
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /sanitizer_common/sanitizer_platform.h:17:3: error: "This operating system
> is not supported" # error "This operating system is not supported"
>   ^
> In file included from
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /asan/asan_allocator2.cc:18: In file included from
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /asan/asan_allocator.h:19: In file included from
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /asan/asan_interceptors.h:18:
> /scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/lib
> /interception/interception.h:19:3: error: "Interception doesn't work on
> this operating system." # error "Interception doesn't work on this
> operating system."
>   ^
> 2 errors generated.
> Makefile:267: recipe for target
> '/scratch/wip/llvm-rtlib/work/llvm-3.3.src/projects/compiler-rt-3.3.src/cl
> ang_netbsd/asan-x86_64/x86_64/SubDir.lib__asan/asan_allocator2.o' failed
> 
> Let's assume this will work in 3.4 :)
>  Thomas

Hi,

These errors also appeared initially for the i386 as well, so I removed them 
from the libraries to be built as they are not needed for lightspark and for 
building compiler-rt but rather additional runtime libraries which I will 
endeavor to get to work or they may work in a later version of clang/llvm.

I was building on i386 so I would not have found this so thanks Thomas.

I will further modify clang_netbsd.mk to add missing architectures, but they 
will have to be tested as I do not have the hardware, but for now it should 
build and run on i386 and amd64.

So please try to build it with the updated package.

Regards,

Nat.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index