Re: scandirat return dirents of parent dir

2017-07-05 Thread Corinna Vinschen
On Jul  5 05:38, comic fans wrote:
> I've already submitted a patch for this but your fix is much
> quicker... confirmed this snapshot resolved the problem. Thank you.
> >> Hello:
> >>  I've found this problem when compile
> >> casync(https://github.com/systemd/casync.git) in cygwin,workflow to
> >> trigger this :
> >> rootfd=open(".",O_CLOEXEC|O_RDONLY|O_NOCTTY);
> >> scandirat(rootfd,".", firstLevelDirEnts..);
> >> foreach dirent in firstLevelDirEnts:
> >>  if dirent is dir:
> >>  subdirfd=openat(rootfd,
> >>   dirent->d_name,O_RDONLY|O_CLOEXEC|O_NOCTTY|O_NOFOLLOW);
> >>  scandirat(subdirfd,".",  secondLevelDirEnts..);
> >>
> >>  at this time, secondLevelDirEnts should be files in subdir, but
> >> in cygwin, secondLevelDirEnts is just same as firstLevelDirEnts.
> >>
> >>   This problem didn't happen in linux , nor win10 WSL,  but
> >> happens in both cygwin/msys2.
> >
> >First I thought you stumbled over the problem that the first two entries
> >returned by scandirat are "." and "..", but on closer investigation I
> >saw the problem.
> >
> >I pushed a fix to the git repo and uploaded new developer snapshots
> >to https://cygwin.com/snapshots/  Please try.

I only saw your patch on cygwin-patches hours later, sorry.

Thanks for testing!


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


[ANNOUNCEMENT] Updated: Git v2.13.2-1

2017-07-05 Thread Adam Dinwoodie
Version 2.13.2-1 of Git has been uploaded and should be coming soon to a
mirror near you. This update includes the following packages:

- git
- git-cvs
- git-debuginfo
- git-email
- git-gui
- gitk
- git-svn

This is an update to the latest upstream release.

For a full list of the upstream changes in this release, please refer to
the upstream changelogs:

https://git.kernel.org/cgit/git/git.git/tree/Documentation/RelNotes
https://kernel.googlesource.com/pub/scm/git/git.git/+/master/Documentation/RelNotes/
https://github.com/gitster/git/tree/master/Documentation/RelNotes

Enjoy!

Adam

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



setup complains about cygwin-doc package update

2017-07-05 Thread Nellis, Kenneth
Curious about an error that setup.exe reported today related to upgrading 
package cygwin-doc to 2.8.1-1, saying:

Postinstall script errors
These do not necessarily mean that affected packages will fail to 
function
properly, but please check /var/log/setup.log.full and report any 
problems.

Package: _/cygwin-doc
cygwin-doc.sh exit code 2

A subsequent setup.exe run with nothing pending gave a different message:

Package: _/Unknown package
cygwin-doc.sh exit code 2

Looking in setup.log.full I see:

2017/07/05 09:13:33 running: C:\cygwin64\bin\bash.exe --norc --noprofile 
"/etc/postinstall/cygwin-doc.sh"
Can't find directory '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin'
2017/07/05 09:13:34 abnormal exit: exit code=2

Indeed, there is no Cygwin directory in existing directory 
'/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs'.

Looking at cygwin-doc.sh, it seems that the script is trying to put some things 
in that directory.

So, I manually created the directory and reran setup. This time no errors 
reported, 
and the newly created directory contains the following files:

$ ls -l
total 24
-rwxr-xr-x+ 1 knellis Domain Users 1233 Jul  5 09:30 'API (HTML).lnk'
-rwxr-xr-x+ 1 knellis Domain Users 1041 Jul  5 09:30 'API (PDF).lnk'
-rwxr-xr-x+ 1 knellis Domain Users 1248 Jul  5 09:30  FAQ.lnk
-rwxr-xr-x+ 1 knellis Domain Users 1224 Jul  5 09:30 'Home Page.lnk'
-rwxr-xr-x+ 1 knellis Domain Users 1242 Jul  5 09:30 'User Guide (HTML).lnk'
-rwxr-xr-x+ 1 knellis Domain Users 1050 Jul  5 09:30 'User Guide (PDF).lnk'
$

So, these are handy links to have, I guess, but is it appropriate for
cygwin-doc.sh to presume that the directory exists? Maybe it should create it
rather than simply bail out and complain if it doesn't exist.

--Ken Nellis

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: setup complains about cygwin-doc package update

2017-07-05 Thread Corinna Vinschen
On Jul  5 13:32, Nellis, Kenneth wrote:
> Curious about an error that setup.exe reported today related to upgrading 
> package cygwin-doc to 2.8.1-1, saying:
> 
> Postinstall script errors
>   These do not necessarily mean that affected packages will fail to 
> function
>   properly, but please check /var/log/setup.log.full and report any 
> problems.
> 
> Package: _/cygwin-doc
>   cygwin-doc.sh exit code 2
> 
> A subsequent setup.exe run with nothing pending gave a different message:
> 
> Package: _/Unknown package
>   cygwin-doc.sh exit code 2
> 
> Looking in setup.log.full I see:
> 
> 2017/07/05 09:13:33 running: C:\cygwin64\bin\bash.exe --norc --noprofile 
> "/etc/postinstall/cygwin-doc.sh"
> Can't find directory '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start 
> Menu/Programs/Cygwin'
> 2017/07/05 09:13:34 abnormal exit: exit code=2
> 
> Indeed, there is no Cygwin directory in existing directory 
> '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs'.
> 
> Looking at cygwin-doc.sh, it seems that the script is trying to put some 
> things in that directory.
> 
> So, I manually created the directory and reran setup. This time no errors 
> reported, 
> and the newly created directory contains the following files:
> 
> $ ls -l
> total 24
> -rwxr-xr-x+ 1 knellis Domain Users 1233 Jul  5 09:30 'API (HTML).lnk'
> -rwxr-xr-x+ 1 knellis Domain Users 1041 Jul  5 09:30 'API (PDF).lnk'
> -rwxr-xr-x+ 1 knellis Domain Users 1248 Jul  5 09:30  FAQ.lnk
> -rwxr-xr-x+ 1 knellis Domain Users 1224 Jul  5 09:30 'Home Page.lnk'
> -rwxr-xr-x+ 1 knellis Domain Users 1242 Jul  5 09:30 'User Guide (HTML).lnk'
> -rwxr-xr-x+ 1 knellis Domain Users 1050 Jul  5 09:30 'User Guide (PDF).lnk'
> $
> 
> So, these are handy links to have, I guess, but is it appropriate for
> cygwin-doc.sh to presume that the directory exists? Maybe it should create it
> rather than simply bail out and complain if it doesn't exist.

In theory, the script should only create the files if the directory
exists.  Brian?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


[ANNOUNCEMENT] Updated: setup (2.881)

2017-07-05 Thread Jon Turney


A new version of Setup, release 2.881, has been uploaded to

  https://cygwin.com/setup-x86.exe (32 bit version)
  https://cygwin.com/setup-x86_64.exe  (64 bit version)

Changes compared to 2.880:

- Accept sites using https:// and ftps:// protocols in mirrors.lst

Please send bug reports, as usual, to the public mailing list cygwin AT
cygwin DOT com.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: setup complains about cygwin-doc package update

2017-07-05 Thread Brian Inglis
On 2017-07-05 08:27, Corinna Vinschen wrote:
> On Jul  5 13:32, Nellis, Kenneth wrote:
>> Curious about an error that setup.exe reported today related to upgrading 
>> package cygwin-doc to 2.8.1-1, saying:
>>
>> Postinstall script errors
>>  These do not necessarily mean that affected packages will fail to 
>> function
>>  properly, but please check /var/log/setup.log.full and report any 
>> problems.
>>
>> Package: _/cygwin-doc
>>  cygwin-doc.sh exit code 2
>>
>> A subsequent setup.exe run with nothing pending gave a different message:
>>
>> Package: _/Unknown package
>>  cygwin-doc.sh exit code 2
>>
>> Looking in setup.log.full I see:
>>
>> 2017/07/05 09:13:33 running: C:\cygwin64\bin\bash.exe --norc --noprofile 
>> "/etc/postinstall/cygwin-doc.sh"
>> Can't find directory '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start 
>> Menu/Programs/Cygwin'
>> 2017/07/05 09:13:34 abnormal exit: exit code=2
>>
>> Indeed, there is no Cygwin directory in existing directory 
>> '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs'.
>>
>> Looking at cygwin-doc.sh, it seems that the script is trying to put some 
>> things in that directory.
>>
>> So, I manually created the directory and reran setup. This time no errors 
>> reported, 
>> and the newly created directory contains the following files:
>>
>> $ ls -l
>> total 24
>> -rwxr-xr-x+ 1 knellis Domain Users 1233 Jul  5 09:30 'API (HTML).lnk'
>> -rwxr-xr-x+ 1 knellis Domain Users 1041 Jul  5 09:30 'API (PDF).lnk'
>> -rwxr-xr-x+ 1 knellis Domain Users 1248 Jul  5 09:30  FAQ.lnk
>> -rwxr-xr-x+ 1 knellis Domain Users 1224 Jul  5 09:30 'Home Page.lnk'
>> -rwxr-xr-x+ 1 knellis Domain Users 1242 Jul  5 09:30 'User Guide (HTML).lnk'
>> -rwxr-xr-x+ 1 knellis Domain Users 1050 Jul  5 09:30 'User Guide (PDF).lnk'
>> $
>>
>> So, these are handy links to have, I guess, but is it appropriate for
>> cygwin-doc.sh to presume that the directory exists? Maybe it should create it
>> rather than simply bail out and complain if it doesn't exist.

I am a big fan and hoarder of shortcuts, bookmarks, links, URLs, etc.

> In theory, the script should only create the files if the directory
> exists.  Brian?

Assumption made was that setup would create SM/Programs/Cygwin, but the
postinstall/preremove scripts should check and exit if not there.
Presumably if no shortcuts are desired, that dir is not created?
I can change the scripts to check and fail quietly if not there.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] Updated: GraphicsMagick-1.3.26-1

2017-07-05 Thread Marco Atzeri

Version 1.3.26-1 of
   GraphicsMagick
   libGraphicsMagick-devel
   libGraphicsMagick3
   libGraphicsMagick++12
   libGraphicsMagickWand2
   perl-Graphics-Magick

have been uploaded for cygwin

CYGWIN CHANGES
REbuilt to update some dependencies

CHANGES
Upstream security and bug fixes release
http://www.graphicsmagick.org/NEWS.html#july-4-2017

DESCRIPTION
GraphicsMagick is the swiss army knife of image processing.
It provides a robust and efficient collection of tools and
libraries which support reading, writing, and manipulating an
image in over 88 major formats including important formats like
DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, and TIFF.

HOMEPAGE
http://www.graphicsmagick.org/

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] Updated: dos2unix 7.3.5-1

2017-07-05 Thread Erwin Waterlander

CHANGES SINCE LAST RELEASE:
===


New upstream release.

  * New flag 0 for option -i, --info. End information lines with a null
character instead of a newline character, enabling correct file name
interpretation when flag c is used.
  * Don't print leading spaces when option -i with flag c is used.
  * Code cleanup.
  * Manual update.
  * Translation updates.


homepage: http://waterlan.home.xs4all.nl/dos2unix.html
license: 2-clause BSD (FreeBSD)


--
Erwin Waterlander
http://waterlan.home.xs4all.nl/

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



32 bit additional slowness

2017-07-05 Thread Marco Atzeri

Just noted on my W7-64bit after 2.8.1 and MS Tuesday patches..

on  relative small binaries for both architecture

$ ls -su gpa.exe
4.0M gpa.exe


$ uname -svr
CYGWIN_NT-6.1-WOW 2.8.1(0.312/5/3) 2017-07-03 14:06

$ time nm -l gpa.exe
...
real4m10.636s
user4m8.524s
sys 0m0.233s


$ uname -svr
CYGWIN_NT-6.1 2.8.1(0.312/5/3) 2017-07-03 14:11

$ time nm -l gpa.exe
...
real0m0.466s
user0m0.358s
sys 0m0.093s


anyone seeing the same ?

Marco

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: debuginfo Dwarf Error

2017-07-05 Thread JonY
On 07/04/2017 09:16 PM, Marco Atzeri wrote:
> 
> Jon,
> I noted that the problem was already present sometime ago
> https://cygwin.com/ml/cygwin/2015-10/msg00122.html
> 
> and supposed to be solved.
> However it seems arisen again
> 
>  $ cat getcwd.c
> #include 
> #include 
> 
> int
> main ()
> {
>char buf[PATH_MAX];
>getcwd (buf, PATH_MAX);
> }
> 
> $ gcc getcwd.c
> 
> $ nm -l a.exe
> 
> nm: Dwarf Error: Could not find abbrev number 85.
> 
> 
> 
> Using latest test versions make no difference
> 
> $ cygcheck -c gcc-core binutils
> Cygwin Package Information
> Package  VersionStatus
> binutils 2.28-2 OK
> gcc-core 6.3.0-2OK
> 

Aha a small test case, I was wondering how to trigger it. Now I can
actually get the binutils COFF/PE devs to look at it.




signature.asc
Description: OpenPGP digital signature


[ANNOUNCEMENT] Updated: doxygen-1.8.13-3

2017-07-05 Thread David Stacey

The following packages have been updated in the Cygwin distribution:

* doxygen-1.8.13-3
* doxygen-doxywizard-1.8.13-3

Doxygen is a documentation system for C++, C, Java, Objective-C, IDL
(Corba and Microsoft flavours) and to some extent PHP, C#, and D.

This has been rebuilt with libclang4.0 and the latest patchset from
Fedora. The build also includes the search indexer.

Dave.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] Updated: ruby-redcarpet-3.4.0-2

2017-07-05 Thread David Stacey

The following packages have been uploaded to the Cygwin distribution:

* ruby-redcarpet-3.4.0-2
* ruby-redcarpet-doc-3.4.0-2

Redcarpet is a Ruby gem providing a fast, safe and extensible Markdown
to (X)HTML parser.

This has been rebuilt for ruby-2.3.3.

Dave.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: GCC Compiler can't seem to find linker

2017-07-05 Thread starz0rdesign

Which package contains libink.a?

This is the output for make V=1
$ make V=1
make  all-am
make[1]: Entering directory '/home/nobodyimportant/libarchive-3.3.1'
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall -Wformat 
-Wformat-s
ecurity -no-undefined -version-info 16:1:3  -o libarchive.la -rpath 
/usr/local/
lib libarchive/archive_acl.lo libarchive/archive_check_magic.lo 
libarchive/arch
ive_cmdline.lo libarchive/archive_cryptor.lo 
libarchive/archive_digest.lo libar
chive/archive_entry.lo libarchive/archive_entry_copy_stat.lo 
libarchive/archive
_entry_link_resolver.lo libarchive/archive_entry_sparse.lo 
libarchive/archive_e
ntry_stat.lo libarchive/archive_entry_strmode.lo 
libarchive/archive_entry_xattr
.lo libarchive/archive_getdate.lo libarchive/archive_hmac.lo 
libarchive/archive
_match.lo libarchive/archive_options.lo libarchive/archive_pack_dev.lo 
libarchi
ve/archive_pathmatch.lo libarchive/archive_ppmd7.lo 
libarchive/archive_random.l
o libarchive/archive_rb.lo libarchive/archive_read.lo 
libarchive/archive_read_a
dd_passphrase.lo libarchive/archive_read_append_filter.lo 
libarchive/archive_re
ad_data_into_fd.lo libarchive/archive_read_disk_entry_from_file.lo 
libarchive/a
rchive_read_disk_posix.lo 
libarchive/archive_read_disk_set_standard_lookup.lo l
ibarchive/archive_read_extract.lo libarchive/archive_read_extract2.lo 
libarchiv
e/archive_read_open_fd.lo libarchive/archive_read_open_file.lo 
libarchive/archi
ve_read_open_filename.lo libarchive/archive_read_open_memory.lo 
libarchive/arch
ive_read_set_format.lo libarchive/archive_read_set_options.lo 
libarchive/archiv
e_read_support_filter_all.lo 
libarchive/archive_read_support_filter_bzip2.lo li
barchive/archive_read_support_filter_compress.lo 
libarchive/archive_read_suppor
t_filter_grzip.lo libarchive/archive_read_support_filter_gzip.lo 
libarchive/arc
hive_read_support_filter_lrzip.lo 
libarchive/archive_read_support_filter_lz4.lo
 libarchive/archive_read_support_filter_lzop.lo 
libarchive/archive_read_support
_filter_none.lo libarchive/archive_read_support_filter_program.lo 
libarchive/ar
chive_read_support_filter_rpm.lo 
libarchive/archive_read_support_filter_uu.lo l
ibarchive/archive_read_support_filter_xz.lo 
libarchive/archive_read_support_for
mat_7zip.lo libarchive/archive_read_support_format_all.lo 
libarchive/archive_re
ad_support_format_ar.lo 
libarchive/archive_read_support_format_by_code.lo libar
chive/archive_read_support_format_cab.lo 
libarchive/archive_read_support_format
_cpio.lo libarchive/archive_read_support_format_empty.lo 
libarchive/archive_rea
d_support_format_iso9660.lo 
libarchive/archive_read_support_format_lha.lo libar
chive/archive_read_support_format_mtree.lo 
libarchive/archive_read_support_form
at_rar.lo libarchive/archive_read_support_format_raw.lo 
libarchive/archive_read
_support_format_tar.lo libarchive/archive_read_support_format_warc.lo 
libarchiv
e/archive_read_support_format_xar.lo 
libarchive/archive_read_support_format_zip
.lo libarchive/archive_string.lo libarchive/archive_string_sprintf.lo 
libarchiv
e/archive_util.lo libarchive/archive_virtual.lo 
libarchive/archive_write.lo lib
archive/archive_write_disk_acl.lo libarchive/archive_write_disk_posix.lo 
libarc
hive/archive_write_disk_set_standard_lookup.lo 
libarchive/archive_write_open_fd
.lo libarchive/archive_write_open_file.lo 
libarchive/archive_write_open_filenam
e.lo libarchive/archive_write_open_memory.lo 
libarchive/archive_write_add_filte
r.lo libarchive/archive_write_add_filter_b64encode.lo 
libarchive/archive_write_
add_filter_by_name.lo libarchive/archive_write_add_filter_bzip2.lo 
libarchive/a
rchive_write_add_filter_compress.lo 
libarchive/archive_write_add_filter_grzip.l
o libarchive/archive_write_add_filter_gzip.lo 
libarchive/archive_write_add_filt
er_lrzip.lo libarchive/archive_write_add_filter_lz4.lo 
libarchive/archive_write
_add_filter_lzop.lo libarchive/archive_write_add_filter_none.lo 
libarchive/arch
ive_write_add_filter_program.lo 
libarchive/archive_write_add_filter_uuencode.lo
 libarchive/archive_write_add_filter_xz.lo 
libarchive/archive_write_set_format.
lo libarchive/archive_write_set_format_7zip.lo 
libarchive/archive_write_set_for
mat_ar.lo libarchive/archive_write_set_format_by_name.lo 
libarchive/archive_wri
te_set_format_cpio.lo libarchive/archive_write_set_format_cpio_newc.lo 
libarchi
ve/archive_write_set_format_filter_by_ext.lo 
libarchive/archive_write_set_forma
t_iso9660.lo libarchive/archive_write_set_format_mtree.lo 
libarchive/archive_wr
ite_set_format_pax.lo libarchive/archive_write_set_format_raw.lo 
libarchive/arc
hive_write_set_format_shar.lo 
libarchive/archive_write_set_format_ustar.lo liba
rchive/archive_write_set_format_v7tar.lo 
libarchive/archive_write_set_format_gn
utar.lo libarchive/archive_write_set_format_warc.lo 
libarchive/archive_write_se
t_format_xar.lo libarchive/archive_write_set_format_zip.lo 
libarchive/archive_w
rite_set_options.lo libarchive/archive_write_set_passphrase.

Re: GCC Compiler can't seem to find linker

2017-07-05 Thread Mark Geisert

starz0rdesign wrote:

Which package contains libink.a?

This is the output for make V=1
$ make V=1
make  all-am
make[1]: Entering directory '/home/nobodyimportant/libarchive-3.3.1'
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall -Wformat -Wformat-s
ecurity -no-undefined -version-info 16:1:3  -o libarchive.la -rpath /usr/local/

[...]

hive_write_set_passphrase.o libarchive/.libs/filter_fork_posix.o libarchive/.li
bs/xxhash.o   -g -O2   `func_echo_all " -liconv" | /usr/bin/sed 's/ -lc$//'` -l
ink -dll
C:/Program Files/mingw-w64/x86_64-7.1.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib
/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot
  find -link
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:3334: libarchive.la] Error 1
make[1]: Leaving directory '/home/nobodyimportant/libarchive-3.3.1'
make: *** [Makefile:2929: all] Error 2


It appears you're building libarchive from scratch rather than using Cygwin's 
libarchive package.  Since "libink" has no results in the Cygwin package search 
(at https://cygwin.com/cgi-bin2/package-grep.cgi for your future reference :-)) 
I would guess libarchive itself needs it and assumes it's already present on 
your system.  You may have to build libink.a yourself.


BTW are you following 
https://github.com/libarchive/libarchive/wiki/BuildInstructions or just winging 
it?  If the latter, try the former ;-)

HTH,

..mark


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 32 bit additional slowness

2017-07-05 Thread Marco Atzeri

On 05/07/2017 23:06, Marco Atzeri wrote:

Just noted on my W7-64bit after 2.8.1 and MS Tuesday patches..

on  relative small binaries for both architecture

$ ls -su gpa.exe
4.0M gpa.exe


$ uname -svr
CYGWIN_NT-6.1-WOW 2.8.1(0.312/5/3) 2017-07-03 14:06

$ time nm -l gpa.exe
...
real4m10.636s
user4m8.524s
sys 0m0.233s


$ uname -svr
CYGWIN_NT-6.1 2.8.1(0.312/5/3) 2017-07-03 14:11

$ time nm -l gpa.exe
...
real0m0.466s
user0m0.358s
sys 0m0.093s


anyone seeing the same ?

Marco


with binary of latest test binutils-2.28.90
I see a dramatic improvement on i686

 time ./nm -l /tmp/gpa.exe
..
real0m1.308s
user0m0.904s
sys 0m0.062s

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: GCC Compiler can't seem to find linker

2017-07-05 Thread starz0rdesign
Interesting that the package name isn't "libarchive" in the repos, but 
it's "libarchive13". Since I'm using a apt-get bash script to get the 
packages for me anyway. Since it seems I already had "libarchive13" 
installed, I tried installing the mingw64 package to see if it would fix 
my issue building another package, but it didn't seem to find it still, 
even after restarting the shell, so I'm not exactly sure how to get this 
to detect libarchive.


This output from the last 4 lines of ./configure of the msys2-pacman 
package.


...
checking pkg-config is at least version 0.9.0... yes
checking for LIBARCHIVE... no
configure: error: *** libarchive >= 2.8.0 is needed to compile pacman!
configure: WARNING: cache variable lt_cv_path_LD contains a newline

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: debuginfo Dwarf Error

2017-07-05 Thread Marco Atzeri

On 06/07/2017 00:49, JonY wrote:

On 07/04/2017 09:16 PM, Marco Atzeri wrote:


Jon,
I noted that the problem was already present sometime ago
https://cygwin.com/ml/cygwin/2015-10/msg00122.html

and supposed to be solved.
However it seems arisen again







Aha a small test case, I was wondering how to trigger it. Now I can
actually get the binutils COFF/PE devs to look at it.




binutils-2.28.90 has not such issue
and it is much faster than 2.28

https://cygwin.com/ml/cygwin/2017-07/msg00082.html

Can you double check and confirm ?

Regards
Marco


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple