This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Symbol referencing errors building hello world, sparc-sun-solaris2.11, gfortran-4.1.0


Sure:

Note that the symbols in question come up UNDEF and NOTYPE.


[Index] Value Size Type Bind Other Shndx Name
[1866] | 333468| 596|FUNC |GLOB |0 |14 |_gfortran_internal_pack
[2068] | 334064| 612|FUNC |GLOB |0 |14 |_gfortran_internal_unpack
[1626] | 317724| 24|FUNC |GLOB |0 |14 |_gfortran_pack
[1694] | 317692| 32|FUNC |GLOB |0 |14 |_gfortran_pack_char
[1606] | 316448| 24|FUNC |GLOB |0 |14 |_gfortran_pack_s
[2035] | 316416| 32|FUNC |GLOB |0 |14 |_gfortran_pack_s_char
[1971] | 333348| 52|FUNC |GLOB |0 |14 |_gfortran_unpack0
[1547] | 333300| 48|FUNC |GLOB |0 |14 |_gfortran_unpack0_char
[1973] | 333436| 32|FUNC |GLOB |0 |14 |_gfortran_unpack1
[1666] | 333400| 36|FUNC |GLOB |0 |14 |_gfortran_unpack1_char
[1504] | 221040| 452|FUNC |GLOB |0 |14 |_gfortrani_internal_pack_4
[1509] | 221492| 452|FUNC |GLOB |0 |14 |_gfortrani_internal_pack_8
[1829] | 0| 0|NOTY |GLOB |0 |UNDEF |_gfortrani_internal_pack_c4
[1835] | 0| 0|NOTY |GLOB |0 |UNDEF |_gfortrani_internal_pack_c8
[1489] | 221944| 460|FUNC |GLOB |0 |14 |_gfortrani_internal_unpack_4
[1497] | 222404| 460|FUNC |GLOB |0 |14 |_gfortrani_internal_unpack_8
[1588] | 0| 0|NOTY |GLOB |0 |UNDEF |_gfortrani_internal_unpack_c4
[1596] | 0| 0|NOTY |GLOB |0 |UNDEF |_gfortrani_internal_unpack_c8
[2145] | 326888| 112|FUNC |GLOB |0 |14 |_gfortrani_reshape_packed
[1809] | 283772| 68|FUNC |GLOB |0 |14 |_gfortrani_unpack_filename
[792] | 0| 0|FILE |LOCL |0 |ABS |in_pack_c10.c
[793] | 0| 0|FILE |LOCL |0 |ABS |in_pack_c16.c
[790] | 0| 0|FILE |LOCL |0 |ABS |in_pack_c4.c
[791] | 0| 0|FILE |LOCL |0 |ABS |in_pack_c8.c
[1310] | 0| 0|FILE |LOCL |0 |ABS |in_pack_generic.c
[789] | 0| 0|FILE |LOCL |0 |ABS |in_pack_i16.c
[787] | 0| 0|FILE |LOCL |0 |ABS |in_pack_i4.c
[788] | 0| 0|FILE |LOCL |0 |ABS |in_pack_i8.c
[799] | 0| 0|FILE |LOCL |0 |ABS |in_unpack_c10.c
[800] | 0| 0|FILE |LOCL |0 |ABS |in_unpack_c16.c
[797] | 0| 0|FILE |LOCL |0 |ABS |in_unpack_c4.c
[798] | 0| 0|FILE |LOCL |0 |ABS |in_unpack_c8.c
[1311] | 0| 0|FILE |LOCL |0 |ABS |in_unpack_generic.c
[796] | 0| 0|FILE |LOCL |0 |ABS |in_unpack_i16.c
[794] | 0| 0|FILE |LOCL |0 |ABS |in_unpack_i4.c
[795] | 0| 0|FILE |LOCL |0 |ABS |in_unpack_i8.c
[1251] | 0| 0|FILE |LOCL |0 |ABS |pack_generic.c
[1253] | 316480| 1212|FUNC |LOCL |0 |14 |pack_internal
[1252] | 315672| 744|FUNC |LOCL |0 |14 |pack_s_internal
[1287] | 0| 0|FILE |LOCL |0 |ABS |reshape_packed.c
[1307] | 0| 0|FILE |LOCL |0 |ABS |unpack_generic.c
[1308] | 332176| 1124|FUNC |LOCL |0 |14 |unpack_internal


Tobias.Schlueter@Physik.Uni-Muenchen.DE wrote:
Quoting John Wiggins <jwiggins@Princeton.EDU>:
What seems weird to me is that looks like it's failing to resolve symbols
in libgfortran.so that should be IN libgfortran.so no?

Indeed, this renders my previous assumption wrong.


Can you try this on your system:
schluter@pcl247d:~/usr/lib> nm libgfortran.so | grep pack
0005b4c0 T _gfortran_internal_pack
0005b7d0 T _gfortran_internal_unpack
00057600 T _gfortran_pack
000575e0 T _gfortran_pack_char
00056fc0 T _gfortran_pack_s
00056fa0 T _gfortran_pack_s_char
0005b410 T _gfortran_unpack0
0005b3d0 T _gfortran_unpack0_char
0005b480 T _gfortran_unpack1
0005b450 T _gfortran_unpack1_char
00042a00 t _gfortrani_internal_pack_4
00042c30 t _gfortrani_internal_pack_8
00042e70 t _gfortrani_internal_pack_c4
000430b0 t _gfortrani_internal_pack_c8
00043540 t _gfortrani_internal_unpack_4
00043760 t _gfortrani_internal_unpack_8
00043960 t _gfortrani_internal_unpack_c4
00043b90 t _gfortrani_internal_unpack_c8
00059a30 t _gfortrani_reshape_packed
0004fcd0 t _gfortrani_unpack_filename
000432f0 T internal_pack_c10
00043d70 T internal_unpack_c10
00056ff0 t pack_internal
00056c40 t pack_s_internal
0005ae60 t unpack_internal
schluter@pcl247d:~/usr/lib>

- Tobi



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]