[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: findutils 4.6.0 v. Tru64 (strftime() v. "%F"?)

From: Eric Blake
Subject: Re: findutils 4.6.0 v. Tru64 (strftime() v. "%F"?)
Date: Fri, 26 May 2017 08:54:06 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 05/25/2017 05:43 PM, Steven M. Schweda wrote:
>    I've subscribed to the bug-findutils list, so I don't need a separate
> copy of these messages.

It's still list policy to use the Reply-to-all button, so we don't have
to pay attention to who is subscribed.  If you don't want duplicates,
then the filtering should be done by you (not by the sender) - either
you should write your mail with a Followup-to: header that lists all the
addressees but omits yourself, or you should use mailman's option to
suppress messages going to you via the list when you are listed in to or
cc (but be aware that mailman2 has a bug that when you enable the
duplicate suppression, mailman rewrites the list version of the email to
strip you as an addressee, so followups by anyone else that uses
reply-all will not know that you were an original recipient, and you
will still have to play games with threads that are not either
fully-to-you or fully-to-the-list).

>    On AIX, "man strftime" doesn't mention "%F", and the build failed:
> gcc -std=gnu99  -g -O2   -o find ftsfind.o ./libfindtools.a
> ../lib/libfind.a ../gl/lib/libgnulib.a -lintl      -lm -lm    
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
>  information.
> collect2: ld returned 8 exit status
>    Manually (re-)linking with "-lpthread" worked:
> blue# cd find
> blue# gcc -std=gnu99  -g -O2   -o find ftsfind.o ./libfindtools.a
> ../lib/libfind.a ../gl/lib/libgnulib.a -lintl      -lm -lm -lpthread

Weird. I don't know if fixing findutils to use gnulib's nstrftime() will
still need to pull in -lpthread on that platform; if so, that will be a
gnulib patch to write. I guess we'll find out, once someone contributes
the fix to use nstrftime in the first place.

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]