[GHC] #11744: Latest Xcode update violates POSIX compliance of `nm -P`
GHC
ghc-devs at haskell.org
Thu Mar 24 03:22:11 UTC 2016
#11744: Latest Xcode update violates POSIX compliance of `nm -P`
---------------------------------+----------------------------------------
Reporter: hvr | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version:
Resolution: | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
---------------------------------+----------------------------------------
Comment (by carter):
heres a listing of the new apple nm flag options/output, for comparision
with the prior one
{{{
$ /Users/carter/Desktop/bad-cli-tools/Command\ Line\ Tools\ \(OS\ X\
10.11\)/CLTools_Executables.pkg.cpio.xz/Library/Developer/CommandLineTools/usr/bin/nm
--help
OVERVIEW: llvm symbol table dumper
USAGE: nm [options] <input files> --s Dump only symbols from this segment
and section name, Mach-O only
OPTIONS:
General options:
-B - Alias for --format=bsd
-P - Alias for --format=posix
-aarch64-neon-syntax - Choose style of NEON code to emit from AArch64
backend:
=generic - Emit generic NEON assembly
=apple - Emit Apple-style NEON assembly
-arch=<string> - architecture(s) from a Mach-O file to dump
-debug-syms - Show all symbols, even debugger only
-defined-only - Show only defined symbols
-dynamic - Display the dynamic symbols instead of normal
symbols.
-enable-objc-arc-opts - enable/disable all ARC Optimizations
-enable-scoped-noalias -
-enable-tbaa -
-extern-only - Show only external symbols
-format - Specify output format
=bsd - BSD format
=sysv - System V format
=posix - POSIX.2 format
=darwin - Darwin -m format
-join-liveintervals - Coalesce copies (default=true)
-just-symbol-name - Print just the symbol's name
-m - Alias for --format=darwin
-no-llvm-bc - Disable LLVM bitcode reader
-no-sort - Show symbols in order encountered
-numeric-sort - Sort symbols by address
-print-after-all - Print IR after each pass
-print-armap - Print the archive map
-print-before-all - Print IR before each pass
-print-file-name - Precede each symbol with the object file it
came from
-print-size - Show symbol size instead of address
-reverse-sort - Sort in reverse order
-rng-seed=<seed> - Seed for the random number generator
-s=<string> - Dump only symbols from this segment and
section name, Mach-O only
-size-sort - Sort symbols by size
-stackmap-version=<int> - Specify the stackmap encoding version (default
= 1)
-time-passes - Time each pass, printing elapsed time for each
on exit
-undefined-only - Show only undefined symbols
-verify-dom-info - Verify dominator info (time consuming)
-verify-loop-info - Verify loop info (time consuming)
-verify-scev - Verify ScalarEvolution's backedge taken counts
(slow)
-x - Print symbol entry in hex, Mach-O only
-x86-asm-syntax - Choose style of code to emit from X86 backend:
=att - Emit AT&T-style assembly
=intel - Emit Intel-style assembly
Generic Options:
-help - Display available options (-help-hidden for
more)
-help-list - Display list of available options (-help-list-
hidden for more)
-version - Display the version of this program
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11744#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list