> -----Ursprüngliche Nachricht----- > Von: ptxdist-boun...@pengutronix.de [mailto:ptxdist- > boun...@pengutronix.de] Im Auftrag von Michael Olbrich > Gesendet: Montag, 23. Februar 2015 09:33 > An: ptxdist@pengutronix.de > Betreff: Re: [ptxdist] (no subject) > > On Mon, Feb 23, 2015 at 01:38:40AM +0200, Anders Montonen wrote: > > > > > On 22 Feb 2015, at 21:17, Christoph Rüdiger <christoph.ruediger@rwth- > aachen.de> wrote: > > > Am 22.02.15 um 10:38 schrieb Michael Olbrich: > > > > > >> I don't know why the bash in Max OS X cannot handle this. Maybe it's > too > > >> old? What version are you using? > > > Your assumption is right. My OS X is 10.9.5 (Mavericks) and way newer > > > than the Ubuntu 10.04.4 which is the oldest system where I use ptxdist > > > for my day-to-day work. That's why I didn't took the version numbers > > > into account. But I was wrong: > > > > > > Ubuntu 10.04.4: bash 4.1.5(1)-release > > > OS X 10.9.5: bash 3.2.53(1)-release > > > > As you might have guessed, Bash 3.2 was the last version to be released > under > > the GPLv2 license, and Apple will not distribute any software covered by > > GPLv3. > > So you'll be stuck with the old version. Let's see if we can stay > compatible.
You need to install a lot of GNU tools from exteranl sources (homebrew, MacPorts, Fink), so I do not see any problem in including bash into this list. My bigger problem is now, that there is no GNU linker available on OS X, so you need to use the LLVM linker which does not understand the -Wl,--as-needed flag. I need to dig deeper to understand since when GNU gcc set this flag by default and what the drawback is, if we remove this flag from the PTXDIST_HOST_LDFLAGS. > Christoph: does the exec with explicit fd numbers work? The exec with explicit fd numbers worked in a quick test on the command line. > And what's the > output of "set | grep BASH_VERSINFO" for the old bash? I do not have access to the Mac right now. You will receive an answer later this day. Best regards, Christoph -- ThyssenKrupp Elevator Innovation GmbH PDC Neuhausen TKEI Elevator Control Bernhaeuser Straße 45 73765 Neuhausen, Germany Phone +49 7158 12-2615 christoph.ruedi...@thyssenkrupp.com Company domicile: Essen Commercial register: Essen HRB 20 839 Postal address: ThyssenKrupp Allee 1, 45143 Essen, Germany Executive Board: Gerhard Thumm, Katrin Huenger, Philippe Choleau -- ptxdist mailing list ptxdist@pengutronix.de