Opened 2 years ago
Last modified 2 years ago
#65284 new defect
openscop fails to build on Leopard: ld: absolute address to symbol ___stdoutp in a different linkage unit not supported in _test_file from osl_test-osl_test.o
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | powerpc, leopard | Cc: | |
Port: | openscop |
Description
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openscop/openscop/work/osl-0.9.0-ppc/tests' CC osl_test-osl_test.o CC osl_int-osl_int.o CC osl_pluto_unroll-osl_pluto_unroll.o CCLD osl_test CCLD osl_pluto_unroll CCLD osl_int ld: absolute address to symbol ___stdoutp in a different linkage unit not supported in _test_file from osl_test-osl_test.o collect2: ld returned 1 exit status make[2]: *** [osl_test] Error 1 make[2]: *** Waiting for unfinished jobs.... ld: absolute address to symbol ___stdoutp in a different linkage unit not supported in _main from osl_pluto_unroll-osl_pluto_unroll.o collect2: ld returned 1 exit status make[2]: *** [osl_pluto_unroll] Error 1 ld: absolute address to symbol ___stdoutp in a different linkage unit not supported in _main from osl_int-osl_int.o collect2: ld returned 1 exit status make[2]: *** [osl_int] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openscop/openscop/work/osl-0.9.0-ppc/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openscop/openscop/work/osl-0.9.0-ppc/tests' make: *** [all-recursive] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openscop/openscop/work/osl-0.9.0-ppc' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openscop/openscop/work/osl-0.9.0-ppc" && /usr/bin/make -j4 -w all Exit code: 2 Error: Failed to build openscop: command execution failed
Attachments (1)
Change History (5)
Changed 2 years ago by barracuda156
comment:1 follow-ups: 2 3 Changed 2 years ago by kencu (Ken)
comment:2 Changed 2 years ago by barracuda156
Replying to kencu:
this sometimes works to fix that:
configure.ldflags-append -Wl,-read_only_relocs,suppresssearch the port tree for other examples where I or others have added that. You need to do some special stuff if muniversal PG is being used.
Thank you! Will try it.
comment:3 Changed 2 years ago by barracuda156
Replying to kencu:
this sometimes works to fix that:
configure.ldflags-append -Wl,-read_only_relocs,suppresssearch the port tree for other examples where I or others have added that. You need to do some special stuff if muniversal PG is being used.
No, no change. I tried to build -universal
just to be sure that muniversal
is unrelated to the issue, but got identical failure.
comment:4 Changed 2 years ago by kencu (Ken)
one more thing for you to try:
configure.cflags-append -fpic configure.cxxflags-append -fpic
Note: See
TracTickets for help on using
tickets.
this sometimes works to fix that:
search the port tree for other examples where I or others have added that. You need to do some special stuff if muniversal PG is being used.