bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27345] New: binutils/arsup.c: lstat() not available on all


From: pexu at sourceware dot mail.kapsi.fi
Subject: [Bug binutils/27345] New: binutils/arsup.c: lstat() not available on all targets
Date: Thu, 04 Feb 2021 08:28:00 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27345

            Bug ID: 27345
           Summary: binutils/arsup.c: lstat() not available on all targets
           Product: binutils
           Version: 2.37 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: pexu at sourceware dot mail.kapsi.fi
  Target Milestone: ---

Hi.

As of commit 95b91a043aeaeb546d2fea556d84a2de1e917770 [1] lstat() call at
binutils/arsup.c moves out of `#if !defined (_WIN32) || defined (__CYGWIN32__)'
macro block.  This will break at least Windows (e.g. MinGW) targets as lstat()
isn't available.

I did not study the code regarding whether or not lstat() is always required,
or simply an extra fortification.

[1]
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=95b91a043aeaeb546d2fea556d84a2de1e917770

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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