Below, "maint" is a local unprivileged user. Change it as you need.
Season to taste. Scripts at the bottom. The recipe here ...

    # as root*
    **mkdir -p /usr/opt**
    **chmod 1777 /usr/opt**
    **mkdir -p /usr/local/opt**
    **chown maint /usr/local/opt*


I prefer /local/opt for package residence, and the scripts presume that,
but thought /usr/local/opt might be more tolerable in this case.

Optionally install the older version of BINUTILS ...

    # as maint
    *mkdir -p /usr/local/opt/binutils-2.24.51.0.3/Linux-s390x**
    **rsync -l -p -t --no-dirs \**
    **        rsync://chic.casita.net/opt/***binutils-2.24.51.0.3*/* \**
    **        /usr/local/opt/binutils-2.24.51.0.3/.**
    **rsync -a -u -x -H -K -O -S \**
    **       
    rsync://chic.casita.net/opt/***binutils-2.24.51.0.3*/Linux-s390x/* \**
    **        /usr/local/opt/binutils-2.24.51.0.3/Linux-s390x/.**
    **/usr/local/opt/binutils-2.24.51.0.3/setup*


Then install the latest and greatest ...

    # as maint, second version takes precedence
    *mkdir -p /usr/local/opt/binutils-2.34/Linux-s390x**
    **rsync -l -p -t --no-dirs \**
    **        rsync://chic.casita.net/opt/***binutils-2.34*/* \**
    **        /usr/local/opt/binutils-2.34/.**
    **rsync -a -u -x -H -K -O -S \**
    **       
    rsync://chic.casita.net/opt/***binutils-2.34*/Linux-s390x/. \**
    **        /usr/local/opt/binutils-2.34/Linux-s390x/.**
    **/usr/local/opt/binutils-2.34/setup*


At that point, prepend /usr/opt/binutils/bin to your PATH variable and
you've got the newer 'as' and 'ld' and friends. These were built
statically so they should not carry pre-reqs.
Enjoy!

Too many manual steps. The method has been around for years, but I
recently started cobbling up scripts to automate it. Those are here ...

    *rsync://chic.casita.net/opt/chicory/bin/*


The scipts are new and a work-in-progress. I use them regularly now
(instead of the unscalable manual steps) but I haven't tested edge cases.

Share and share alike!

-- R; <><


On 3/23/20 9:28 PM, Rick Troth wrote:
> For any who have interest, I built binutils-2.34 (latest) and
> binutils-2.24.51.0.3 (last release on kernel.org) for Chicory. These
> are statically linked so they should run anywhere (meaning any distro
> or release, but still need the right architecture). Specifically for
> s390x ...
>
>     *rsync://chic.casita.net/opt/binutils-2.24.51.0.3/Linux-s390x/*
>
>
>     *rsync://chic.casita.net/opt/binutils-2.34/Linux-s390x/*
>
>
> I'll send a recipe for each in a following note.
>
> -- R; <><
>
>
> On 3/23/20 9:26 AM, R Herrold wrote:
>> I have had a lot of difficulty getting a functional binutils out of
>> the buildsystem under the RHEL 8 sources -- many 'pass the self test'
>> issues
>>
>> -- Russ herrold
>>
>> On Mon, Mar 23, 2020 at 6:54 AM Rick Troth <[email protected]> wrote:
>>> Have you seen this when building anything other than SSL?
>>>
>>> Have you tried varying the binutils version that you're running with?
>>> (This is one reason I use Chicory, so I can fall-back to a recent
>>> known-good release of any particular package.)
>>>
>>> -- R; <><
>>>
>>>
>>> On 3/22/20 9:12 PM, Neale Ferguson wrote:
>>>> Has anyone seen something like this when using devtoolset-8-binutils?
>>>>
>>>> /usr/bin/strip:/builddir/build/BUILDROOT/openssl11-1.1.1c-1.el7.s390x/usr/lib64/openssl11/libssl.a(bio_ssl.o)[.gnu.build.attributes]:
>>>>  corrupt GNU build attribute note: bad description size: Bad value
>>>>
>>>> Nothing of interest shows up on google.
>>>>
>>>> ----------------------------------------------------------------------
>>>> For LINUX-390 subscribe / signoff / archive access instructions,
>>>> send email to [email protected] with the message: INFO LINUX-390 or 
>>>> visit
>>>> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>>> --
>>> -- R; <><
>>>
>>>
>>> ----------------------------------------------------------------------
>>> For LINUX-390 subscribe / signoff / archive access instructions,
>>> send email to [email protected] with the message: INFO LINUX-390 or 
>>> visit
>>> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>>>
>> ----------------------------------------------------------------------
>> For LINUX-390 subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO LINUX-390 or 
>> visit
>> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>
>
> -- 
> -- R; <><


-- 
-- R; <><


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to