Sourceware network outage, Tuesday 2023-01-31

2023-01-30 Thread Mark Wielaard
We've received word from our data centre hosts that they will have a
network infrastructure outage tomorrow, Tuesday 2023-01-31, between
8am and 12am EST (UTC-5). We may follow that up with a server
firmware-related update/boot.

This impacts sourceware.org, builder.sourceware.org,
patchwork.sourceware.org, inbox.sourceware.org, valgrind.org,
elfutils.org, cygwin.com and gcc.gnu.org, which all may be unreachable
for a couple of hours.

Note that there are read-only mirrors of the git repositories at
https://sr.ht/~sourceware/ if you need access during the outage.

Please feel free to hang out at irc.libera.chat #overseers to follow
the current status.




Re: [PATCH] addr2line: -C should not try to handle optional (ignored) argument

2023-01-30 Thread Mark Wielaard
Hi,

On Mon, Jan 23, 2023 at 10:11:28AM +0100, Mark Wielaard wrote:
> The --demangle option takes an option (ignored) argument. Since -C
> is the short option of --demangle it also takes that optional
> argument. But that means that something like -Cfi is like -C got
> fi as argument, while the user expects -Cfi to be like -C -f -i.
> 
> Separate the --demangle and -C options. --demangle still takes
> an optional (ignored) argument, but -C doesn't take any arguments
> so -Cfi acts the same as -fiC.
> 
> Also fix --target, -b, so that it is properly ignored (and not
> accidentially enables demangling).

Pushed.

Cheers,

Mark


Re: [PATCH] libdw: Search for abstract origin in the correct CU

2023-01-30 Thread Mark Wielaard
Hi,

On Mon, Jan 23, 2023 at 10:15:20AM +0100, Mark Wielaard wrote:
> With gcc -flto the abstract origin of an inlined subroutine
> could be in a different CU. dwarf_getscopes might return an
> empty scope if it cannot find the abstract origin scope. So
> make sure to search in the
> 
> We also tried to add the origin match in pc_record directly
> in the current inlined scope. This always failed, causing
> to do a needless traversal, followed by the full CU scan in
> dwarf_getscopes. Just always stop the pc_record search and
> then do the CU origin_match in dwarf_getscopes.

Pushed.

Cheers,

Mark