[Bro-Dev] #295: Create prebuilt binary packages
Bro Tracker
bro at tracker.icir.org
Thu Jan 6 14:31:36 PST 2011
#295: Create prebuilt binary packages
----------------------+----------------------
Reporter: seth | Owner: jsiwek
Type: Problem | Status: assigned
Priority: Normal | Milestone: Bro1.6
Component: Bro | Version:
Resolution: | Keywords:
----------------------+----------------------
Comment (by jsiwek):
In general, x86_64 binaries seem to run on 10.5, but when trying to run an
x86_64 bro binary (compiled on the same 10.5.8 machine) I see a trace
like:
{{{
$ BROPATH=`source bro-path-dev` gdb ./src/bro
...
(gdb) run
Starting program: /Users/jsiwek/Projects/bro/bro/build/src/bro
warning: posix_spawn failed, trying execvp, error: 86
Reading symbols for shared libraries ++++++++. done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff808ed209
0x00007fff843466bd in res_build_start ()
(gdb) where
#0 0x00007fff843466bd in res_build_start ()
#1 0x00007fff84347483 in res_9_vinit ()
#2 0x00000001001ab215 in nb_dns_init (errstr=0x7fff5fbfea90 "###") at
/Users/jsiwek/Projects/bro/bro/src/nb_dns.c:133
#3 0x0000000100092635 in DNS_Mgr::DNS_Mgr (this=0x100808200,
arg_mode=DNS_DEFAULT) at /Users/jsiwek/Projects/bro/bro/src/DNS_Mgr.cc:350
#4 0x000000010006046b in main (argc=53, argv=0x7fff5fbff098) at
/Users/jsiwek/Projects/bro/bro/src/main.cc:709
}}}
An i386 bro binary works on 10.5. I'm thinking that something's wrong
with the x86_64 libresolv.dylib on 10.5 -- googling around I see traces
for a couple other 64-bit applications that crap out in the same spot in
libresolv on OS X 10.5, but no answers/solutions.
I don't have a strong urge to investigate further, so it may be that we
have to make an i386 package for 10.5+ and an x86_64 package for 10.6+.
We should probably consider this again at the time we're ready for a bro
1.6 release -- maybe we want to make it a habit to only make packages for
OS versions currently supported by Apple, which may be 10.6 and 10.7 by
the time we're ready.
--
Ticket URL: <http://tracker.icir.org/bro/ticket/295#comment:7>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list