Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
binutils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
binutils
Commits
79e10382
Commit
79e10382
authored
Jun 27, 2023
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgraded binutils to 2.36.1
parent
e4a7ef2f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
Makefile
Makefile
+6
-6
binutils-2.36.1.tar.xz
binutils-2.36.1.tar.xz
+0
-0
build.xml
build.xml
+6
-6
No files found.
Makefile
View file @
79e10382
...
...
@@ -4,16 +4,16 @@ all:
mkswap swap
swapon swap
tar
xf
binutils-2.3
4
.tar.xz
tar
xf
binutils-2.3
6.1
.tar.xz
mkdir
binutils-build
cd binutils-build && CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/usr/lib
:
/lib" ../binutils-2.3
4
/configure --build=$(CLFS_TARGET) --prefix=/usr --enable-shared --enable-plugins
cd binutils-build && CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/usr/lib
:
/lib" ../binutils-2.3
6.1
/configure --build=$(CLFS_TARGET) --prefix=/usr --enable-shared --enable-plugins
$(MAKE)
-C
binutils-build
tooldir
=
/usr
# FIXME: binutils tests fail on ARMv7, we should exclude tests which are known to fail and beyond our control
-if
[[
!
"$(BUILD_OPTIONS)"
=~
no-tests
]]
;
then
\
$(MAKE)
-C
binutils-build
-k
check
;
\
fi
$(MAKE)
-C
binutils-build
tooldir
=
/usr
install
rm
-rf
binutils-2.3
4
rm
-rf
binutils-2.3
6.1
rm
-rf
binutils-build
swapoff
swap
...
...
@@ -25,16 +25,16 @@ gold:
mkswap swap
swapon swap
tar
xf
binutils-2.3
4
.tar.xz
tar
xf
binutils-2.3
6.1
.tar.xz
mkdir
binutils-build
cd binutils-build && CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/usr/lib
:
/lib" ../binutils-2.3
4
/configure --prefix=/usr --enable-gold --enable-ld=default --enable-plugins --enable-shared
cd binutils-build && CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/usr/lib
:
/lib" ../binutils-2.3
6.1
/configure --prefix=/usr --enable-gold --enable-ld=default --enable-plugins --enable-shared
$(MAKE)
-C
binutils-build
tooldir
=
/usr
# FIXME: binutils tests fail on ARMv7, we should exclude tests which are known to fail and beyond our control
-if
[[
!
"$(BUILD_OPTIONS)"
=~
no-tests
]]
;
then
\
$(MAKE)
-C
binutils-build
-k
check
;
\
fi
$(MAKE)
-C
binutils-build
tooldir
=
/usr
install
rm
-rf
binutils-2.3
4
rm
-rf
binutils-2.3
6.1
rm
-rf
binutils-build
swapoff
swap
...
...
binutils-2.3
4
.tar.xz
→
binutils-2.3
6.1
.tar.xz
View file @
79e10382
No preview for this file type
build.xml
View file @
79e10382
...
...
@@ -4,9 +4,9 @@
<property
name=
"makedir"
value=
"${builddir}/binutils-build"
/>
<mkdir
dir=
"${makedir}"
/>
<exec
executable=
"tar"
failonerror=
"true"
>
<arg
line=
"xf packages/binutils/binutils-2.3
4
.tar.xz -C ${builddir}"
/>
<arg
line=
"xf packages/binutils/binutils-2.3
6.1
.tar.xz -C ${builddir}"
/>
</exec>
<exec
executable=
"${builddir}/binutils-2.3
4
/configure"
dir=
"${makedir}"
failonerror=
"true"
>
<exec
executable=
"${builddir}/binutils-2.3
6.1
/configure"
dir=
"${makedir}"
failonerror=
"true"
>
<env
key=
"AR"
value=
"ar"
/>
<env
key=
"AS"
value=
"as"
/>
<arg
line=
"--prefix=${sysrootdir}/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=${sysrootdir} --with-lib-path=/tools/lib --disable-nls --disable-static --disable-multilib --disable-werror"
/>
...
...
@@ -15,7 +15,7 @@
<exec
executable=
"make"
dir=
"${makedir}"
failonerror=
"true"
>
<arg
line=
"install"
/>
</exec>
<delete
dir=
"${builddir}/binutils-2.3
4
"
/>
<delete
dir=
"${builddir}/binutils-2.3
6.1
"
/>
<delete
dir=
"${makedir}"
/>
</target>
...
...
@@ -23,9 +23,9 @@
<property
name=
"makedir"
value=
"${builddir}/binutils-build"
/>
<mkdir
dir=
"${makedir}"
/>
<exec
executable=
"tar"
failonerror=
"true"
>
<arg
line=
"xf packages/binutils/binutils-2.3
4
.tar.xz -C ${builddir}"
/>
<arg
line=
"xf packages/binutils/binutils-2.3
6.1
.tar.xz -C ${builddir}"
/>
</exec>
<exec
executable=
"${builddir}/binutils-2.3
4
/configure"
dir=
"${makedir}"
failonerror=
"true"
>
<exec
executable=
"${builddir}/binutils-2.3
6.1
/configure"
dir=
"${makedir}"
failonerror=
"true"
>
<env
key=
"PATH"
path=
"${PATH}"
/>
<env
key=
"CC"
value=
"${CLFS_TARGET}-gcc"
/>
<env
key=
"CXX"
value=
"${CLFS_TARGET}-g++"
/>
...
...
@@ -57,7 +57,7 @@
<env
key=
"STRIP"
value=
"${CLFS_TARGET}-strip"
/>
<arg
line=
"install"
/>
</exec>
<delete
dir=
"${builddir}/binutils-2.3
4
"
/>
<delete
dir=
"${builddir}/binutils-2.3
6.1
"
/>
<delete
dir=
"${makedir}"
/>
</target>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment