Opened 6 years ago

Closed 6 years ago

#55593 closed defect (wontfix)

gegl @0.2.0: configure fails: ld: half word text relocs not supported in _main for architecture ppc

Reported by: sideeffect42 (Dennis Camera) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: powerpc Cc:
Port: gegl

Description

When building gegl 0.2.0 on Mac OS X 10.5.8 PowerPC the configure step fails because the GLIB test application cannot be linked (see attached config.log).

The relevant lines are:

configure:18242: ccache /opt/local/bin/clang-mp-3.4 -o conftest -pipe -Os -fno-altivec -arch ppc   -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  -L/opt/local/lib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation >&5
ld: half word text relocs not supported in _main for architecture ppc
collect2: error: ld returned 1 exit status
clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)

Attachments (2)

main.log (43.9 KB) - added by sideeffect42 (Dennis Camera) 6 years ago.
failed build using clang-3.4: main.log
config.log (52.4 KB) - added by sideeffect42 (Dennis Camera) 6 years ago.
failed build using clang-3.4: config.log

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by sideeffect42 (Dennis Camera)

Attachment: main.log added

failed build using clang-3.4: main.log

Changed 6 years ago by sideeffect42 (Dennis Camera)

Attachment: config.log added

failed build using clang-3.4: config.log

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: devans@… removed
Owner: set to dbevans
Status: newassigned

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Keywords: powerpc added

comment:3 Changed 6 years ago by sideeffect42 (Dennis Camera)

I think the GCC block can be removed from the Portfile:

compiler.blacklist *gcc*

gegl @0.2.0_24+graphviz+quartz built just fine using gcc-4.2 for me.

comment:4 Changed 6 years ago by dbevans (David B. Evans)

Resolution: wontfix
Status: assignedclosed

gegl-0.2.0 has been retired. See https://github.com/macports/macports-ports/commit/121aeb709a59fb25a43f309f45ae9b8f56b17dd7.

gegl-0.3.0 gegl-0.4.0 now use

*gcc-3.* *gcc-4.*

To address this and similar issues.

Note: See TracTickets for help on using tickets.