Closed StarWolf3000 closed 5 years ago
That's an optional feature in 8.3 that the maintainer decided to enable. From https://www.gnu.org/software/gdb/download/ANNOUNCEMENT :
* GDB now supports terminal styling for the CLI and TUI.
Source highlighting is also supported by building GDB with GNU
Highlight.
@Alexpux Why did you decide to enable the source highlighting feature in the latest gdb build?
@StarWolf3000 it was added as dependency after gdb build with it and fail to run. So if it really no need then create pull request
So the build will succeed, but gdb crashes, if you disable it in configure script call?
@StarWolf3000 : AFAIU Alexpux is saying that the build was configured for using that feature and later it was noted that gdb wont run without the binaries of Highlight and its dependencies (boost).
If you want to remove the dependence on boost (and, by implication, switching off the feature Highlight provides) please expose your arguments for doing so.
@oscarfv Do you realize how many files the boost package contains? Its the whole library used for developing programs to utilize boost, not just some required runtime binaries.
The /lib and /include directories contain around 350 MiB together, while the actual required dlls sitting in /bin require about 15 MiB.
@StarWolf3000 : please note that I'm not arguing for or against anything. I'm just explaining how things work.
As Alexpux said, do a PR that disables Highlight.
PR attempt number 2: #5411
@StarWolf3000 : your PR was merged. Please close this bug report. Thanks.
(In the future, if you write Fixes #XXXX in the commit message, the issue #XXXX will automatically close when the PR is accepted)
For some reason, updating
gdb
will also installsource-highlight
package, which itself depends onboost
package.I want to update
gdb
to 8.3-2, but pacman wants to installsource-highlight
andboost
too, which is totally unnecessary and was never required before.