bug-binutils
[Top][All Lists]
Advanced

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

[Bug gprofng/30006] Failure to build binutils-2.40 on i686


From: satadru at gmail dot com
Subject: [Bug gprofng/30006] Failure to build binutils-2.40 on i686
Date: Fri, 20 Jan 2023 21:19:44 +0000

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

--- Comment #9 from Satadru Pramanik <satadru at gmail dot com> ---
Docker instructions: https://docs.docker.com/get-docker/
Once you have docker installed, you should be able to do this:

docker run --platform linux/386 --rm --net=host -v $(pwd):/output -h
$(hostname)-i686 -it satmandu/crewbuild:alex-i686.m58

That should give you this prompt: 

Your software is up to date.
chronos@cheekon-i686 /usr/local/lib/crew/packages $

(That's our build environment.)

Our binutils package script is binutils.rb in that folder.

You can edit it to remove the workaround I used to built 2.40 with:

sed -i 's/--disable-gprofng//' binutils.rb

Then you can do this to build the package:

cd /usr/local/tmp
crew build -k binutils

That will take a while and will eventually give you the build error.
You can go into /usr/local/tmp/crew/ and see the build folder.

Your working directory you started the container from with the docker command
will map to /output inside the container, so you can use /output to copy files
in and out of the container.

-- 
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]