[swift-dev] ASan runtime does not come first
swift-dev at ryan.lovelett.me
Mon Apr 25 07:52:56 CDT 2016
On Sun, Apr 24, 2016, at 05:44 PM, Joseph Bell via swift-dev wrote:
> Well, I thought the REPL issues had all been put to rest, but now I am
> seeing this on Ubuntu 14.04 (15.10 I do not see it):
> ➜ package-swift-3.0 git:(swift-3.0) ✗ ./install/usr/bin/swift
> ==18928==ASan runtime does not come first in initial library list; you
> ==should either link runtime to your application or manually preload
> ==it with LD_PRELOAD.
> This is with the "master" branches that build Swift 3.0, hashes:
> $ swift swiftrevs.swift
> Is anyone else building the world on Ubuntu 14.04 that can
> verify this?
I have seen this behavior many times in many scenarios. Almost always it
has to do with a build parameter.
Recently I have noticed that compiling with the "compiler-rt" project
seems to cause this issue frequently. I do not understand what "compiler-
rt" is, or what its value to Swift is, so I just omit it from my builds.
It maybe worth while to do the same and rebuild and see if it goes away.
I would think that if "compiler-rt" is the source of the issues then
something likely needs to be submitted to bugs.swift.org.
Another thing to check is if your packaging Swift (dep, rpm, pacman,
etc...) that you are do not strip symbols from binaries and libraries as
part of packaging.
> Joseph Bell
> swift-dev mailing list
> swift-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-dev