public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* does graphite affect the c++ munging?  Does -On?
@ 2012-11-04 23:10 James Cloos
  2012-11-05  0:32 ` Jonathan Wakely
  0 siblings, 1 reply; 8+ messages in thread
From: James Cloos @ 2012-11-04 23:10 UTC (permalink / raw)
  To: gcc-help

I'm seeing an unexpected undefined reference error from ld(1) for a
package which uses icu.

The error is dependent on CXXFLAGS, notably the three graphite flags.

Although, now that I try to duplicate that, I cannot and get the same
undefined refs every time.  :-/

The first undefined ref is to:

icu::LEFontInstance::mapCharsToGlyphs(unsigned short const*,
                                      int,
                                      int,
                                      signed char,
                                      icu::LECharMapper const*,
                                      signed char,
                                      icu::LEGlyphStorage&) const

The definition in icu's src is:

void LEFontInstance::mapCharsToGlyphs(const LEUnicode chars[],
                                      le_int32 offset,
                                      le_int32 count,
                                      le_bool reverse,
                                      const LECharMapper *mapper,
                                      le_bool filterZeroWidth,
                                      LEGlyphStorage &glyphStorage) const

and the library has:

_ZNK3icu14LEFontInstance16mapCharsToGlyphsEPKDsiiaPKNS_12LECharMapperEaRNS_14LEGlyphStorageE

which I presume splits out as:

  E PK Ds i i a PK NS_12LECharMapper E a R NS_14LEGlyphStorage E

which seems to match, presuming PKDs is a pointer to ushort, and a is
a signed char.

Strace(1) shows that ld(1) reads the correct files, so it isn't due to
old stuff hinding on the fs.

This is with gcc 4.7.2.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-05 18:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-04 23:10 does graphite affect the c++ munging? Does -On? James Cloos
2012-11-05  0:32 ` Jonathan Wakely
2012-11-05  1:07   ` James Cloos
2012-11-05  3:11     ` Philipp Thomas
2012-11-05 18:23       ` James Cloos
2012-11-05 18:34         ` Jonathan Wakely
2012-11-05 18:46           ` Jonathan Wakely
2012-11-05 18:41         ` [HarfBuzz] " Jonathan Kew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).