Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
darshan
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • darshan
  • darshan
  • Issues
  • #251

Closed
Open
Opened Nov 02, 2018 by Philip Carns@carns
  • Report abuse
  • New issue
Report abuse New issue

build failure of darshan-runtime on Ubuntu 18.10

This only happens with default CFLAGS (-g -O2). This example is using gcc 8.2 and mpich 3.2.1.

mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I.. -I../../ -g -O2  -D_LARGEFILE64_SOURCE -shared -fpic -DPIC -DDARSHAN_PRELOAD -c ../lib/darshan-stdio.c -o lib/darshan-stdio.po
In file included from /usr/include/stdio.h:873,
                 from ../lib/darshan-stdio.c:65:
../lib/darshan-stdio.c: In function ‘fprintf’:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:98:1: error: inlining failed in call to always_inline ‘fprintf.localalias.1’: redefined extern inline functions are not considered for inlining
 fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
 ^~~~~~~
In file included from ../darshan.h:17,
                 from ../lib/darshan-stdio.c:84:
../darshan-module-api.h:49:13: note: called from here
             fprintf(stderr, "Darshan failed to map symbol: %s\n", #__func); \
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/darshan-stdio.c:540:5: note: in expansion of macro ‘MAP_OR_FAIL’
     MAP_OR_FAIL(vfprintf);
     ^~~~~~~~~~~
make: *** [Makefile:143: lib/darshan-stdio.po] Error 1
Assignee
Assign to
3.1.7
Milestone
3.1.7
Assign milestone
Time tracking
None
Due date
None
2
Labels
defect wrapper libraries
Assign labels
  • View project labels
Reference: darshan/darshan#251