Opened 10 years ago

#8335 new Bugs

[locale] PGI 11.3 build problems ()

Reported by: Mark Dixon <m.c.dixon@…> Owned by: Artyom Beilis
Milestone: To Be Determined Component: locale
Version: Boost 1.53.0 Severity: Problem
Keywords: pgi locale Cc:

Description

Hi,

Compilation of boost 1.53.0 with the PGI 11.3 compiler on RHEL5 fails for the following source files when using the method in the quickstart guide:

  • libs/locale/src/posix/codecvt.cpp
  • libs/locale/src/posix/collate.cpp
  • libs/locale/src/posix/converter.cpp
  • libs/locale/src/posix/numeric.cpp
  • libs/locale/src/posix/posix_backend.cpp

Most of the errors appear to stem from a claim that locale_t is undefined. Errors are too long to include here, so have attached a build output to this ticket. Hope it doesn't make it too much a pain to read.

In addition, detection of icu libraries seems to fail (whereas building against GNU or Intel compilers succeeds). Note the icu/icu (lib64) lines below. I'm told this is to do with the locale component:

$ ./b2

Building the Boost C++ Libraries.


Performing configuration checks

    - 32-bit                   : no
    - 64-bit                   : yes
    - x86                      : yes
    - has_icu builds           : no
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
    - iconv (libc)             : yes
    - icu                      : no
    - icu (lib64)              : no
    - gcc visibility           : no
    - long double support      : yes
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.

Attachments (1)

boost_1_53_0.local.pgi.txt (84.9 KB ) - added by Mark Dixon <m.c.dixon@…> 10 years ago.

Download all attachments as: .zip

Change History (1)

by Mark Dixon <m.c.dixon@…>, 10 years ago

Attachment: boost_1_53_0.local.pgi.txt added
Note: See TracTickets for help on using tickets.