[
https://issues.apache.org/jira/browse/TS-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328722#comment-14328722
]
Igor Galić edited comment on TS-3227 at 2/20/15 9:20 AM:
---------------------------------------------------------
the only version of "clang" that supports -dumpsecs is llvm-gcc.
versions <= clang 3.5 ignore -dumpsecs, versions >= warn about it not being a
valid option.
most opinions on the internet are that -dumpsecs is deep compiler voodoo, and
the fact that one is relying on it is probably a bad sign.
but then again, this *is* LuaJIT we're talking about. LuaJIT is *made* of dark
voodoo.
was (Author: i.galic):
the only version of "clang" that supports -dumpsecs (
> LuaJit doesn't properly compile with clang
> ------------------------------------------
>
> Key: TS-3227
> URL: https://issues.apache.org/jira/browse/TS-3227
> Project: Traffic Server
> Issue Type: Bug
> Components: Lua
> Reporter: Igor Galić
> Fix For: 5.3.0
>
>
> {code}
> make[3]: Entering directory '/home/igalic/src/asf/trafficserver/lib/luajit'
> ==== Building LuaJIT 2.0.3 ====
> make -C src
> make[4]: Entering directory
> '/home/igalic/src/asf/trafficserver/lib/luajit/src'
> clang: error: unsupported option '-dumpspecs'
> clang: error: no input files
> {code}
> this happens on
> {code}
> Ubuntu clang version 3.6.0-svn224414-1~exp1 (trunk) (based on LLVM 3.6.0)
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> {code}
> for posterity:
> {code}
> igalic@levix ~ % clang-3.6 -dumpspecs
> clang: error: unsupported option '-dumpspecs'
> clang: error: no input files
> 1 igalic@levix ~ %
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)