https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67733
            Bug ID: 67733
           Summary: elfdump and readelf in perl scripts should to use env
                    vars ELFDUMP and READELF
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ikozhukhov at gmail dot com
  Target Milestone: ---

with bootstrap on illumos based platform we can use /usr/bin/elfdump and
/use/bin/readelf or /usr/gnu/bin/elfdump & /usr/gnu/bin/readelf, but in scripts
:
contrib/make_sunver.pl
libstdc++-v3/scripts/extract_symvers.pl
i can see:
/usr/ccs/bin/elfdump
but it is mistake, because with removal of old unused links at /usr/ccs/bin/*
on illumos based platform (DilOS, http://www,dilos.org) gcc bootstrap will be
failed.

we try to use readelf based on current PATH, but it can be done as mistake or
problem if we have no PATH defined for tools: elfdump and readelf.
more better: to use env vars ELFDUMP and READELF instead.

Reply via email to