Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 936
    • Issues 936
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • James Willenbring
  • Trilinos
  • Issues
  • #729

Closed
Open
Created Oct 24, 2016 by James Willenbring@jmwilleMaintainer

Epetra: test/BasicPerfTest/cxx_main.cpp not compiled with -fPIC

Created by: nschloe

On GCC 6.*, I'm getting the link error

/usr/bin/ld: CMakeFiles/Epetra_BasicPerfTest_test.dir/cxx_main.cpp.o:
relocation R_X86_64_PC32 against symbol `_ZNK14Epetra_MpiComm5PrintERSo'
can not be used when making a shared object; recompile with -fPIC

when configuring with tests. This is because packages/epetra/test/BasicPerfTest/cxx_main.cpp is not compiled with the -fPIC flag, as opposed to all other files.

Full details here.

Assignee
Assign to
Time tracking