ld: warning: creating a DT_TEXTREL in object

J

Jan Callewaert

When compiling a library with the intel compiler icpc, I get the following
warning:

ld: warning: creating a DT_TEXTREL in object

This happens with icc-9.0.030 and ld-2.16.1. However, this doesn't happen on
a similar system but with ld-2.15. Is something wrong with my code or can I
just ignore this?

icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/Matrix.os src/Matrix.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/NeuralNetwork.os src/NeuralNetwork.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/GeneticAlgorithm.os src/GeneticAlgorithm.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/RandomGenerator.os src/RandomGenerator.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/ENFileWriter.os src/ENFileWriter.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/ENFileReader.os src/ENFileReader.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/StringUtils.os src/StringUtils.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/FVector.os src/FVector.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -fPIC -Isrc/examples -Isrc/tests
-Isrc -c -o build/Member.os src/Member.cpp
icpc -O2 -g -fno-inline -Wall -pipe -w1 -shared -o build/libevoneural.so
build/Matrix.os build/NeuralNetwork.os build/GeneticAlgorithm.os
build/RandomGenerator.os build/ENFileWriter.os build/ENFileReader.os
build/StringUtils.os build/FVector.os build/Member.os
ld: warning: creating a DT_TEXTREL in object.

Regards,

Jan
 
J

Jacek Dziedzic

Jan said:
When compiling a library with the intel compiler icpc, I get the following
warning:
> <snip>

You got the wrong newsgroup. This one deals with the C++
*language*, and not implementations. Try an intel-specific
newsgroup.

<OT hint> You forgot -fPIC </OT hint>

HTH,
- J.
 
I

Ian Collins

Jan said:
When compiling a library with the intel compiler icpc, I get the following
warning:

ld: warning: creating a DT_TEXTREL in object

This happens with icc-9.0.030 and ld-2.16.1. However, this doesn't happen on
a similar system but with ld-2.15. Is something wrong with my code or can I
just ignore this?
Too platform specific, try a group for you compiler or OS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top