All of lore.kernel.org
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
To: David Gibson <david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org>
Cc: devicetree-discuss
	<devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>,
	Timur Tabi <timur-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Subject: Re: dtc build failures on OS X
Date: Thu, 21 May 2009 19:46:04 +0200	[thread overview]
Message-ID: <82CF1AB0-22C1-4C33-B6E1-B8816AF2E094@kernel.crashing.org> (raw)
In-Reply-To: <20090520230823.GB10487-787xzQ0H9iRg7VrjXcPTGA@public.gmane.org>

>>> I'm trying to build dtc on Mac OS X.  The compilation seems to go
>>> okay, but the linker dies.
>>
>> It doesn't die, it just complains ;-)
>>
>> You're trying to build a Linux shared library on OSX.  This won't
>> work.  Not only are the command line options not the same, the
>> semantics are totally different as well; importantly, the versioning
>> mechanism is very different.  Given that, you do not want to use
>> a shared library at all -- just use a normal (static) library.
>> IMNSHO that should be the default, on Linux as well...
>
> It was, originally, but someone wanted a shared lib.

And you decided to take on all that maintenance pain?  You're
too good for this world.  Or gullible, heh.

> Actually, the current Makefile builds both, by default.

It shouldn't try to build Linux shared objects unless you are
building a Linux target; easiest would be to just never build
the shared library by default.  Your choice :-)


Segher

  parent reply	other threads:[~2009-05-21 17:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20  2:08 dtc build failures on OS X Timur Tabi
     [not found] ` <ed82fe3e0905191908v8c5fcdft953c4e1ba7969f2a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-05-20  4:43   ` David Gibson
2009-05-20  7:46   ` Jean-Christophe PLAGNIOL-VILLARD
     [not found]     ` <20090520074611.GW17539-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>
2009-05-26  3:37       ` Timur Tabi
     [not found]         ` <ed82fe3e0905252037r574e56ecjd8689b800c74561f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-05-26 18:07           ` [PATCH V2] add Mac OS X support Jean-Christophe PLAGNIOL-VILLARD
     [not found]             ` <1243361246-1743-1-git-send-email-plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
2009-05-27  3:37               ` Timur Tabi
2009-06-13 19:21               ` Jean-Christophe PLAGNIOL-VILLARD
     [not found]                 ` <20090613192148.GN25406-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>
2009-07-15 17:26                   ` Timur Tabi
     [not found]                     ` <ed82fe3e0907151026w4c957398s63ce7d8dae7c5460-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-16  0:43                       ` Jon Loeliger
     [not found]                         ` <E1MRF4Z-0005vL-Hl-CYoMK+44s/E@public.gmane.org>
2009-07-16  2:12                           ` Timur Tabi
2009-07-16  2:33               ` Jon Loeliger
2009-05-20 12:38   ` dtc build failures on OS X Segher Boessenkool
     [not found]     ` <C44AFDDE-9BB1-4914-8B26-5816D83B909A-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
2009-05-20 23:08       ` David Gibson
     [not found]         ` <20090520230823.GB10487-787xzQ0H9iRg7VrjXcPTGA@public.gmane.org>
2009-05-21 17:46           ` Segher Boessenkool [this message]
     [not found]             ` <82CF1AB0-22C1-4C33-B6E1-B8816AF2E094-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
2009-05-22  1:29               ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82CF1AB0-22C1-4C33-B6E1-B8816AF2E094@kernel.crashing.org \
    --to=segher-xvmvhmargas8u2djnn8i7kb+6bgklq7r@public.gmane.org \
    --cc=david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org \
    --cc=devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org \
    --cc=timur-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.