Opened 14 years ago

Closed 13 years ago

#24662 closed defect (worksforme)

xercesc does not build 32 bit on a X86_64 bit hardware

Reported by: breaker.dave@… Owned by: chris.ridd@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: xercesc

Description (last modified by jmroot (Joshua Root))

Even though I have set the machine architectures in macports.conf to i386 I still get a X86_64 build. Is there a way to force a 32 bit build of xercesc 2.8.0?

# machine architectures
universal_archs		i386
otool -hV /opt/local/lib/libxerces-depdom.28.0.dylib 
/opt/local/lib/libxerces-depdom.28.0.dylib:
Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
MH_MAGIC_64  X86_64        ALL  0x00       DYLIB    11        752   NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS

Change History (3)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: xercesc i386 2.8 removed
Owner: changed from macports-tickets@… to chris.ridd@…

Please remember to cc the maintainer.

Setting universal_archs to a single arch makes no sense. Did you actually build with +universal? If you're not using +universal, build_arch is the setting you're looking for.

comment:2 Changed 14 years ago by breaker.dave@…

I am trying to build an i386 build only on a 64-bit machine for deployment onto a 32-bit machine. I have set build_arch to i386 but it still builds X86_64. It seems to recognise the hardware config and overrides the config file.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Can't reproduce.

Note: See TracTickets for help on using tickets.