[MacPorts] #22866: ruby19 no longer +universal (LDFLAGS ignored)
MacPorts
noreply at macports.org
Sat Dec 12 23:35:30 PST 2009
#22866: ruby19 no longer +universal (LDFLAGS ignored)
-----------------------------------+----------------------------------------
Reporter: jeremyhu@… | Owner: brett@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: universal | Port: ruby19
-----------------------------------+----------------------------------------
{{{
/usr/bin/gcc-4.2 -ggdb3 -arch x86_64 -arch i386 -O2 -g -Wall -Wno-
parentheses -fno-common -pipe -fno-common -L. -L/opt/local/lib -arch
x86_64 -arch i386 -L/usr/local/lib main.o -lruby1.9 -lpthread -ldl
-lobjc -o ruby1.9
ld: warning: in ./libruby1.9.dylib, file is not of required architecture
Undefined symbols for architecture i386:
"_ruby_options", referenced from:
_main in main.o
"_ruby_sysinit", referenced from:
_main in main.o
"_ruby_init_stack", referenced from:
_main in main.o
"_ruby_run_node", referenced from:
_main in main.o
"_ruby_init", referenced from:
_main in main.o
ld: symbol(s) not found for architecture i386
And looking through the build log, sure enough the arch flags were
dropped:
:info:build cc -dynamiclib -undefined suppress -flat_namespace
-install_name /opt/local/lib/libruby1.9.dylib -current_version 1.9.1
-compatibility_version 1.9.1 dln.
o encoding.o array.o bignum.o class.o compar.o complex.o dir.o enum.o
enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o
marshal.o math.o numeric.o object.o pack.o parse.o process.o random.o
range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o
regsyntax.o ruby.o safe.o signal.o sprintf.o
st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o
version.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o
us_ascii.o unicode.o utf_8.o newline.o prelude.o dmyext.o -o
libruby1.9.1.9.1.dylib
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22866>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list