This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Use --disable-gdbserver in build-many-glibcs.py [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Mon, 10 Feb 2020 22:19:03 +0000
- Subject: Use --disable-gdbserver in build-many-glibcs.py [committed]
- Ironport-sdr: cxWAQf34waaDTgUr6qLwtffi+WlX2oLrzstEhXAwYBBLTas+MDXCAlWi3hp1uUqCyApJuJxMC4 rYNNozkYWULNCnKzqdW2FyG/E4qjB9OMseNJnO9ZCABqakRErfHA+rAwuI2QRdN9BAD2vo0q07 pNibFPXTzFJPWuKuirLaIFcfKASbiQYQxDDDUEE3FM+IqjvMZ77SqgN9qEW68jm7ECJeii0zcz pisY/gRQ4Wr6FBujRT4wYaXwP/coceP7OoIzEt/hrHMT+RAHPam8KmyC5GZhS0Q3BuJx+GBOsF sfM=
- Ironport-sdr: VnujdoIfQGQuPHjdN+EpJ2Gkxw9X2+V2+ZnzDf8MCj1mP4VLwN6sTbhjGfnS6qKuKAINhYnRI/ WFszbwbtbQK7/9UBheJh/dP3cp91RMiIPvvJmnDxPlGJo72/B3yAf1Q5vQHoRU7Q9kJBRIgkjb C8lptUG4iheoL/g9iwY1YJudREC4kN16cWc3gmf+2oF77r3dCvhoJ1cMQyQfX8skzN1dUgu1ww AOra8P5wtwiKr5iR0d29eVHoK8zVZOIkunOpi/u1KE+roul23RwfeIE9pwCDjBH3tlm8LMpcN4 ojI=
Now that binutils-gdb has gdbserver at top level, an extra
--disable-gdbserver configure option is needed when configuring
binutils from a git checkout to avoid it also building gdbserver
unnecessarily (although fairly harmlessly). This patch updates the
options used in build-many-glibcs.py accordingly (although this might
end up not being needed depending on what happens regarding whether
gdbserver gets built for host != target).
Tested with a build-many-glibcs.py compilers build for
aarch64-linux-gnu using binutils-gdb master.
---
Committed.
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 3625e667a9..6add364720 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -1290,6 +1290,7 @@ class Config(object):
cmdlist.use_path(self.bindir)
self.build_cross_tool(cmdlist, 'binutils', 'binutils',
['--disable-gdb',
+ '--disable-gdbserver',
'--disable-libdecnumber',
'--disable-readline',
'--disable-sim'])
--
Joseph S. Myers
joseph@codesourcery.com