Skip to content

Commit 6708972

Browse files
committed
Restore Binutils gprof tool
Binutils 2.36 made PIE mandatory, breaking gprof for all configurations, so it was removed in c6ae174. GCC 12 made PIE optional again, which allows gprof to operate when linked with -no-pie. Closes #109.
1 parent c2b61e3 commit 6708972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ RUN /binutils-$BINUTILS_VERSION/configure \
174174
LDFLAGS="-s" \
175175
&& make MAKEINFO=true -j$(nproc) \
176176
&& make MAKEINFO=true install \
177-
&& rm $PREFIX/bin/elfedit.exe $PREFIX/bin/gprof.exe $PREFIX/bin/readelf.exe
177+
&& rm $PREFIX/bin/elfedit.exe $PREFIX/bin/readelf.exe
178178

179179
WORKDIR /gmp
180180
RUN /gmp-$GMP_VERSION/configure \

0 commit comments

Comments
 (0)