[Bug default/24328] [dwz] Combining files with different pointer sizes switches off multifile mode

rguenth at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Mar 15 10:18:49 GMT 2021


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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #5)
> The invoker needs to tell dwz the name of the file, so if there are
> multiple, it would need to tell multiple names and the question would be how
> to figure out what should go where.
> 
> I think this is something that should be done in rpm scripts instead, find
> out the separate sets, choose the supplemental name for each set, run dwz
> multiple times on them and make sure it is all packaged.

Agreed.  Maybe dwz can "help" by providing

dwz --can-multifile FILE1 FILE2

and based on $? the script can do the partitioning?  Even its current
diagnostic could be abused for this if there was a --dry-run, then
the script could throw all files at dwz and filter out all inputs
that were diagnosed, repeating with those.

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


More information about the Dwz mailing list