[Bro-Dev] #402: [PATCH] -fPIC is needed for FreeBSD/amd64

Bro Tracker bro at tracker.icir.org
Mon Apr 11 16:07:17 PDT 2011


#402: [PATCH] -fPIC is needed for FreeBSD/amd64
-----------------------+-----------------------
  Reporter:  leres     |      Owner:  jsiwek
      Type:  Problem   |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  Broccoli  |    Version:  git/devel
Resolution:            |   Keywords:
-----------------------+-----------------------

Comment (by leres):

 Since the 1.5.3 version of Broccoli builds both shared and static
 libraries by default on FreeBSD amd64 without issue I think it's
 ridiculous that the new cmake version can't.

 That said, I just tried grabbing a fresh copy of git://git.bro-
 ids.org/broccoli and building with --enable-static and --enable-shared
 (7.2-RELEASE and 8.2-RELEASE, both amd64) and although there doesn't
 appear to be a way to build both static and shared libraries at the same
 time (why not??), I no longer see any errors from either build. So
 something has changed since in the way broccoli is being built between now
 and when I filed this ticket.

 {{{
 Needing to link the broccoli bindings against a static broccoli library
 should not
 be a common situation that users will find themselves in.
 }}}

 I think there's a big difference between that and disallowing the user to
 build both.

 BTW, is there magic to coerce cmake into to showing the actual gcc lines?
 "Building C object" is nice when things work but it isn't so helpful when
 things don't.

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/402#comment:6>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list