[MacPorts] #41382: libQGLViewer example fails to link when building universal (was: libQGLViewer example fails to link)

MacPorts noreply at macports.org
Mon Nov 18 09:01:23 PST 2013


#41382: libQGLViewer example fails to link when building universal
-------------------------------+-----------------------
  Reporter:  dv30fps-macosx@…  |      Owner:  raphael@…
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:                    |   Keywords:
      Port:  libQGLViewer      |
-------------------------------+-----------------------
Changes (by raphael@…):

 * cc: raphael@… (removed)
 * cc: michaelld@… (added)
 * owner:  macports-tickets@… => raphael@…
 * status:  new => assigned


Comment:

 You are trying to build the universal variant. The non-universal build
 works for me and also on the BuildBot.

 Your [attachment:main.log main.log] shows that for every call to
 {{{clang++}}} the architecture specific options
 {{{
 -arch x86_64 -arch i386 -Xarch_x86_64
 }}}
 are used and the {{{-Xarch_x86_64}}} option probably comes from QMake. I
 guess that either this option should be removed or that the option
 {{{-Xarch_i386}}} should be added.

 Michael, do you have any idea how to fix this?

-- 
Ticket URL: <https://trac.macports.org/ticket/41382#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list