"has no symbols"/"same member name" warnings using libtool

Luke Iannini lukexipd at gmail.com
Fri Sep 6 01:40:14 UTC 2013


Hi all,

I'm trying to track down the last warnings in GHC iOS.

We get this waterfall of warnings like:
warning same member name (Types.o) in output file used for input files:
/usr/local/ghc-ios-sim/lib/i386-apple-darwin11-ghc-7.7.20130828/base-4.7.0.0/libHSbase-4.7.0.0.a(Types.o)
and:
/usr/local/ghc-ios-sim/lib/i386-apple-darwin11-ghc-7.7.20130828/base-4.7.0.0/libHSbase-4.7.0.0.a(Types.o)
due to use of basename, truncation and blank padding

and

file:
/usr/local/ghc-ios-sim/lib/i386-apple-darwin11-ghc-7.7.20130828/base-4.7.0.0/libHSbase-4.7.0.0.a(consUtils.o)
has no symbols

when we run libtool to create the static libraries, and I was wondering if
anyone had any ideas what causes them so I could start debugging... I can't
seem to find much information about the warning.

Here's the output of
i386-apple-darwin11-ghc -staticlib test.'s
where test.hs is simply: main = print "hello world"
https://gist.github.com/lukexi/25bfb42616933b0f1542
and here's the same with -v3
https://gist.github.com/lukexi/c1fbbe32cef9e3965a72

I suppose I can simply suppress the output of libtool when we call it from
GHC, but I'd love to find the root cause if we can.

Thanks for any hints!
Cheers
Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130905/185aa2e2/attachment.htm>


More information about the ghc-devs mailing list