|
| View previous topic :: View next topic |
| Author |
Message |
trippels
Joined: 21 Nov 2004 Posts: 1
|
Posted: Mon Nov 22, 2004 6:53 am Post subject: Link errors on Gentoo |
|
|
I manage to install pgi 5.2 on my AMD64 box running Gentoo.
(It required some hacking of the makelocalrc script)
However I get all kinds of link errors when trying to compile programs.
Here is an example (C++):
% gCC -v bench.cpp
/opt/pgi/linux86-64/5.2/bin/pgcpp1 --llalign -Dunix -D__unix -D__unix__ -Dlinux -D__linux -D__linux__ -D__inline__= -D__NO_INLINE_
_ -D__NO_MATH_INLINES -D__x86_64__ -D__LONG_MAX__=9223372036854775807L '-D__SIZE_TYPE__=unsigned long int' '-D__PTRDIFF_TYPE__=lon
g int' -D__THROW= -D__amd64__ -D__PGI -I/opt/pgi/linux86-64/5.2/include/CC -I/opt/pgi/linux86-64/5.2/include -I/usr/local/include
-I/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/include -I/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/include -I/usr/include -q -o /tm
p/pgCCaaaaamAfax.il bench.cpp
/opt/pgi/linux86-64/5.2/bin/pgcpp2 bench.cpp -opt 1 -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 120 0x80000000 -x 59 4 -
y 80 0x1000 -x 138 4 -x 80 0x10800000 -astype 0 -fn bench.cpp -il /tmp/pgCCaaaaamAfax.il -cmdline '+pgCC /tmp/pgCCaaaaamAfax.il -v
' -asm /tmp/pgCCbaaaamAfay.s
NOTE: your evaluation license will expire in 14 days, 23.7 hours.
For a permanent license, please read the order acknowledgement
that you received. Connect to https://www.pgroup.com/License with
the username and password in the order acknowledgement.
Name: xxxxx
User: xxxxx
Email: xxxxx@xxxxx.xx
Hostid: PGI=xxxxxxxxxxxxxxxxxxx
PGCC/x86 Linux/x86-64 5.2-4: compilation successful
/usr/bin/as /tmp/pgCCbaaaamAfay.s -o /tmp/pgCCcaaaamAfay.o
Action(ReadTIFile(./bench.ti))
/opt/pgi/linux86-64/5.2/bin/pgprelnk -c '/usr/bin/nm --print-file-name' -o,/tmp/pgCCdaaaamAfay.nmout -f I386 -YP,/opt/pgi/linux86-64/5.2/lib:/usr/lib64:/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3 /tmp/pgCCcaaaamAfay.o -lstd
/usr/bin/ld /usr/lib64/crt1.o /usr/lib64/crti.o /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/crtbegin.o -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /tmp/pgCCcaaaamAfay.o -L/opt/pgi/linux86-64/5.2/lib -L/usr/lib64 -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3 -rpath /opt/pgi/linux86-64/5.2/lib -lstd -lC -lc -lnspgc -lpgc -lm -lgcc -lc -lgcc /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/crtend.o /usr/lib64/crtn.o
/tmp/pgCCcaaaamAfay.o(.text+0x231): In function `array_test__FPdT1i':
: undefined reference to `sort__tm__3_Pd__3stdFZ1ZT1_v'
/tmp/pgCCcaaaamAfay.o(.text+0x35b): In function `vector_pointer_test__FPdT1i':
: undefined reference to `sort__tm__3_Pd__3stdFZ1ZT1_v'
/tmp/pgCCcaaaamAfay.o(.text+0x4cb): In function `vector_iterator_test__FPdT1i':
: undefined reference to `sort__tm__3_Pd__3stdFZ1ZT1_v'
...
and so on)
Any hints would be very much appreciated.
Thanks, Markus. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Nov 22, 2004 12:40 pm Post subject: |
|
|
Hi Markus,
Unfortunately, pgCC 5.2 has not been ported for use with the glibc version that comes with gcc 3.4.3 and will not work. Please refer to our install FAQ page more information about supported systems. http://www.pgroup.com/support/install.htm#release_info
Thanks,
Mat |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|