Opened 14 years ago
Closed 12 years ago
#27898 closed defect (fixed)
gst-plugins-gl does not build with "build_arch i386"
Reported by: | lazyt@… | Owned by: | rmstonecipher@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | reid@…, ryandesign (Ryan Carsten Schmidt) |
Port: | gst-plugins-gl |
Description
Compiling gst-plugins-gl 0.10.2 is not possible with build_arch set to i386 because it builds a 64bit libgstgl_0.10_la-gstglwindow_cocoa.o:
ld: warning: in .libs/libgstgl_0.10_la-gstglwindow_cocoa.o, file was built for unsupported file format which is not the architecture being linked (i386)
bash-3.2$ file *.o libgstgl_0.10_la-gstglbuffer.o: Mach-O object i386 libgstgl_0.10_la-gstgldisplay.o: Mach-O object i386 libgstgl_0.10_la-gstglfilter.o: Mach-O object i386 libgstgl_0.10_la-gstglmixer.o: Mach-O object i386 libgstgl_0.10_la-gstglshader.o: Mach-O object i386 libgstgl_0.10_la-gstglwindow_cocoa.o: Mach-O 64-bit object x86_64
Adding "-arch i386" to Makefile section "libgstgl_0.10_la-gstglwindow_cocoa.lo" solves this for me.
Attachments (3)
Change History (10)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to rmstonecipher@… |
---|---|
Port: | gst-plugins-gl added |
comment:2 Changed 14 years ago by rmstonecipher@…
Please provide a patch to fix the file you altered.
I am willing to update this port to build properly for you and other users on your architecture but did not grok your explanation.
Thanks,
Ryan
Changed 13 years ago by jmroot (Joshua Root)
Attachment: | Portfile.patch added |
---|
Changed 13 years ago by jmroot (Joshua Root)
Attachment: | objcflags.patch added |
---|
comment:4 Changed 13 years ago by jmroot (Joshua Root)
The Makefiles aren't setting OBJCFLAGS (and it's not in the configure script's ac_subst_vars either). Try the attached patch.
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | reid@… ryandesign@… added |
---|
Has duplicate #32395.
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
comment:7 Changed 12 years ago by rmstonecipher@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r99334.
Note: See
TracTickets for help on using
tickets.
Please remember to fill in the Port field and cc the maintainer.