GNU bug report logs -
#17590
[PATCH] build: libstdbuf.so: avoid new OS X link failure
Previous Next
Reported by: Jim Meyering <jim <at> meyering.net>
Date: Sun, 25 May 2014 19:49:02 UTC
Severity: normal
Tags: fixed, patch
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17590 in the body.
You can then email your comments to 17590 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#17590
; Package
coreutils
.
(Sun, 25 May 2014 19:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jim Meyering <jim <at> meyering.net>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sun, 25 May 2014 19:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Without the attached patch, I'd get this new link failure on OS X:
Undefined symbols for architecture x86_64:
"_libintl_gettext", referenced from:
_apply_mode in src_libstdbuf_so-libstdbuf.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [src/libstdbuf.so] Error 1
[0001-build-libstdbuf.so-avoid-new-OS-X-link-failure.patch (application/octet-stream, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#17590
; Package
coreutils
.
(Sun, 25 May 2014 20:32:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 17590 <at> debbugs.gnu.org (full text, mbox):
On 05/25/2014 08:48 PM, Jim Meyering wrote:
> Without the attached patch, I'd get this new link failure on OS X:
>
> Undefined symbols for architecture x86_64:
> "_libintl_gettext", referenced from:
> _apply_mode in src_libstdbuf_so-libstdbuf.o
> ld: symbol(s) not found for architecture x86_64
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/libstdbuf.so] Error 1
Oh cool, I presume that's since I generalized the
stdbuf enablement check that stdbuf is now built
on Mac OS X. I presume it works too or you would
have seen the test failure.
Change looks good.
thanks!
Pádraig.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#17590
; Package
coreutils
.
(Sun, 25 May 2014 22:21:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 17590 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, May 25, 2014 at 1:31 PM, Pádraig Brady <P <at> draigbrady.com> wrote:
> On 05/25/2014 08:48 PM, Jim Meyering wrote:
>> Without the attached patch, I'd get this new link failure on OS X:
>>
>> Undefined symbols for architecture x86_64:
>> "_libintl_gettext", referenced from:
>> _apply_mode in src_libstdbuf_so-libstdbuf.o
>> ld: symbol(s) not found for architecture x86_64
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [src/libstdbuf.so] Error 1
>
> Oh cool, I presume that's since I generalized the
> stdbuf enablement check that stdbuf is now built
> on Mac OS X. I presume it works too or you would
> have seen the test failure.
>
> Change looks good.
Pushed. Unfortunately, once past that link failure,
the test of new-to-OSX stdbuf fails. Here's stdbuf.log:
[stdbuf.log (application/octet-stream, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#17590
; Package
coreutils
.
(Mon, 26 May 2014 08:26:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 17590 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 05/25/2014 11:19 PM, Jim Meyering wrote:
> On Sun, May 25, 2014 at 1:31 PM, Pádraig Brady <P <at> draigbrady.com> wrote:
>> On 05/25/2014 08:48 PM, Jim Meyering wrote:
>>> Without the attached patch, I'd get this new link failure on OS X:
>>>
>>> Undefined symbols for architecture x86_64:
>>> "_libintl_gettext", referenced from:
>>> _apply_mode in src_libstdbuf_so-libstdbuf.o
>>> ld: symbol(s) not found for architecture x86_64
>>> collect2: error: ld returned 1 exit status
>>> make[2]: *** [src/libstdbuf.so] Error 1
>>
>> Oh cool, I presume that's since I generalized the
>> stdbuf enablement check that stdbuf is now built
>> on Mac OS X. I presume it works too or you would
>> have seen the test failure.
>>
>> Change looks good.
>
> Pushed. Unfortunately, once past that link failure,
> the test of new-to-OSX stdbuf fails. Here's stdbuf.log:
That shows that the test is correct,
and indicates that the buffering settings were ignored.
I did a very quick search which suggests something
like the attached might work (assuming the build params
we hardcode for building the shared lib are OK).
thanks,
Pádraig.
[stdbuf-apple.patch (text/x-patch, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#17590
; Package
coreutils
.
(Mon, 26 May 2014 15:07:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 17590 <at> debbugs.gnu.org (full text, mbox):
On Mon, May 26, 2014 at 1:25 AM, Pádraig Brady <P <at> draigbrady.com> wrote:
> On 05/25/2014 11:19 PM, Jim Meyering wrote:
>> On Sun, May 25, 2014 at 1:31 PM, Pádraig Brady <P <at> draigbrady.com> wrote:
>>> On 05/25/2014 08:48 PM, Jim Meyering wrote:
>>>> Without the attached patch, I'd get this new link failure on OS X:
>>>>
>>>> Undefined symbols for architecture x86_64:
>>>> "_libintl_gettext", referenced from:
>>>> _apply_mode in src_libstdbuf_so-libstdbuf.o
>>>> ld: symbol(s) not found for architecture x86_64
>>>> collect2: error: ld returned 1 exit status
>>>> make[2]: *** [src/libstdbuf.so] Error 1
>>>
>>> Oh cool, I presume that's since I generalized the
>>> stdbuf enablement check that stdbuf is now built
>>> on Mac OS X. I presume it works too or you would
>>> have seen the test failure.
>>>
>>> Change looks good.
>>
>> Pushed. Unfortunately, once past that link failure,
>> the test of new-to-OSX stdbuf fails. Here's stdbuf.log:
>
> That shows that the test is correct,
> and indicates that the buffering settings were ignored.
>
> I did a very quick search which suggests something
> like the attached might work (assuming the build params
> we hardcode for building the shared lib are OK).
You appear to have nailed it. The patch looks fine, and
with that, the test now passes on OS X 10.8.5.
Added tag(s) fixed.
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 10 Oct 2018 15:54:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
17590 <at> debbugs.gnu.org and Jim Meyering <jim <at> meyering.net>
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 10 Oct 2018 15:54:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 08 Nov 2018 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.