Opened 5 months ago

Last modified 3 weeks ago

#68773 assigned defect

gimp-lqr-plugin fails on i386 - duplicate symbol _state

Reported by: rmottola (Riccardo) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: i386 snowleopard Cc:
Port: gimp-lqr-plugin

Description

I get this error on 10.6 i386, while I have success on 64bit

/opt/local/bin/clang-mp-11  -pipe -Os -arch i386 -Wall  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch i386 -o gimp-lqr-plugin main.o interface.o interface_I.o interface_aux.o preview.o layers_combo.o render.o io_functions.o altcoordinates.o altsizeentry.o -L/opt/local/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lgmodule-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-quartz-2.0 -lgdk-quartz-2.0 -framework Cocoa -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib -llqr-1 -lglib-2.0 -lintl 
ld: duplicate symbol _state in interface_I.o and interface.o for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Change History (2)

comment:1 Changed 5 months ago by jmroot (Joshua Root)

Owner: set to dbevans
Status: newassigned

comment:2 Changed 3 weeks ago by rmottola (Riccardo)

any ideas on this? I just retried and get it again. I just tried with fresh clang 16 and gcc 12, same error. So it must be something coming from the libraries?

/opt/local/bin/gcc-mp-12  -pipe -Os -arch i386 -Wall  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch i386 -o gimp-lqr-plugin main.o interface.o interface_I.o interface_aux.o preview.o layers_combo.o render.o io_functions.o altcoordinates.o altsizeentry.o -L/opt/local/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lgmodule-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-quartz-2.0 -lgdk-quartz-2.0 -framework Cocoa -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib -llqr-1 -lglib-2.0 -lintl 

I don't see legacy support. Or maybe it could be something spilled and duplicated in the maze of dependencies?

@kencu @mascguy does it ring a bell?

Note: See TracTickets for help on using tickets.