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)

main.log (32.3 KB) - added by barracuda156 2 years ago.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 2 years ago by kencu (Ken)

this sometimes works to fix that:

configure.ldflags-append -Wl,-read_only_relocs,suppress

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.

Last edited 2 years ago by kencu (Ken) (previous) (diff)

comment:2 in reply to:  1 Changed 2 years ago by barracuda156

Replying to kencu:

this sometimes works to fix that:

configure.ldflags-append -Wl,-read_only_relocs,suppress

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.

Thank you! Will try it.

comment:3 in reply to:  1 Changed 2 years ago by barracuda156

Replying to kencu:

this sometimes works to fix that:

configure.ldflags-append -Wl,-read_only_relocs,suppress

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.

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.