Opened 19 months ago

Last modified 18 months ago

#71754 new defect

poppler fails to build on 10.6 for undefined symbols 32bit intel

Reported by: rmottola (Riccardo) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: LegacySupport snowleopard Cc:
Port: poppler

Description

building with clang 16 fails to link on 10.6 32bit MacBook Pro (I don't see this issue on my 64bit MacBook though).

clang: warning: argument unused during compilation: '-nostdinc++' [-Wunused-command-line-argument]
Undefined symbols for architecture i386:
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::insert(unsigned int, char const*, unsigned int)", referenced from:
      GooString::prependUnicodeMarker() in GooString.cc.o
      Dict::findAvailableKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in Dict.cc.o
      FormField::getFullyQualifiedName() in Form.cc.o
      PSOutputDev::setupEmbeddedType1CFont(GfxFont*, Ref*, GooString*) in PSOutputDev.cc.o
      PSOutputDev::setupEmbeddedOpenTypeT1CFont(GfxFont*, Ref*, GooString*) in PSOutputDev.cc.o
      PSOutputDev::setupEmbeddedCIDType0Font(GfxFont*, Ref*, GooString*) in PSOutputDev.cc.o
      PSOutputDev::setupEmbeddedOpenTypeCFFFont(GfxFont*, Ref*, GooString*) in PSOutputDev.cc.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*, unsigned int)", referenced from:
      GooString::appendfv(char const*, char*) in GooString.cc.o
      FoFiType1C::cvtGlyph(int, int, GooString*, Type1CIndex const*, Type1CPrivateDict const*, bool, std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> >&) in FoFiType1C.cc.o
      FoFiType1C::cvtGlyphWidth(bool, GooString*, Type1CPrivateDict const*) in FoFiType1C.cc.o
      FoFiType1C::cvtNum(double, bool, GooString*) const in FoFiType1C.cc.o
      drawMultiLineText(GooString const&, double, Form const*, GfxFont const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double, VariableTextQuadding, double) in Annot.cc.o
      AnnotAppearanceBuilder::drawText(GooString const*, Form const*, GooString const*, GfxResources const*, AnnotBorder const*, AnnotAppearanceCharacs const*, PDFRectangle const*, VariableTextQuadding, XRef*, Dict*, int, int) in Annot.cc.o
      AnnotAppearanceBuilder::drawListBox(FormFieldChoice const*, AnnotBorder const*, PDFRectangle const*, GooString const*, GfxResources const*, VariableTextQuadding, XRef*, Dict*) in Annot.cc.o
      ...
<similar warnings repeated many times>

Attachments (1)

main.log (349.1 KB) - added by rmottola (Riccardo) 19 months ago.
10.6 intel 32bit build clang 16

Download all attachments as: .zip

Change History (2)

Changed 19 months ago by rmottola (Riccardo)

Attachment: main.log added

10.6 intel 32bit build clang 16

comment:1 Changed 18 months ago by rmottola (Riccardo)

I retry, I get the same error, clang 16... I had no particular issues on 64bit.. so i though. But there I pinned version 23.11 this is version 24!

Note: See TracTickets for help on using tickets.