Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650130 - sys-devel/gdb-8.1: please include patch for Solaris
Summary: sys-devel/gdb-8.1: please include patch for Solaris
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Solaris
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceware.org/PR22950
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-10 19:46 UTC by Fabian Groffen
Modified: 2018-05-29 10:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Solaris SYS_uuidsys patch (sysuuid.patch,339 bytes, patch)
2018-03-10 19:46 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2018-03-10 19:46:24 UTC
Created attachment 523362 [details, diff]
Solaris SYS_uuidsys patch

x86_64-pc-solaris2.11-g++ -x c++  -O2 -pipe   -I. -I. -I./common -I./config -DLOCALEDIR="\"/gentoo/prefix64/usr/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/..   -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1  -I/gentoo/prefix64/usr/include  -I/gentoo/prefix64/usr/include/python3.5 -I/gentoo/prefix64/usr/include/python3.5 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wno-unknown-pragmas -Wno-deprecated-declarations  -c -o amd64-nat.o -MT amd64-nat.o -MMD -MP -MF ./.deps/amd64-nat.Tpo amd64-nat.c
proc-events.c: In function ‘void init_syscall_table()’:
proc-events.c:496:17: error: ‘SYS_uuidsys’ was not declared in this scope
   syscall_table[SYS_uuidsys] = "uuidsys";
                 ^~~~~~~~~~~
make[2]: *** [Makefile:1620: proc-events.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/gentoo/prefix64/var/tmp/portage/sys-devel/gdb-8.1/work/gdb-8.1/gdb'
make[1]: *** [Makefile:8156: all-gdb] Error 2
make[1]: Leaving directory '/gentoo/prefix64/var/tmp/portage/sys-devel/gdb-8.1/work/gdb-8.1'
make: *** [Makefile:849: all] Error 2

sys/syscall.h doesn't define SYS_uuidsys.  Please add the attached patch to the patchset that makes the usage of this symbol conditional.
Comment 1 Larry the Git Cow gentoo-dev 2018-03-10 20:12:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70d69b692cc41a23ac980db18d7178175084379

commit c70d69b692cc41a23ac980db18d7178175084379
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-03-10 20:12:32 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-03-10 20:12:53 +0000

    sys-devel/gdb: bump the patchset up to 1, bug #650130
    
    Two patches:
    + 01_all_ia64-TRAP_HWBKPT.patch
    + 02_all_solaris-no-uuidsys.patch
    
    Reported-by: Fabian Groffen
    Bug: https://bugs.gentoo.org/650130
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-devel/gdb/Manifest          |   1 +
 sys-devel/gdb/gdb-8.1-r1.ebuild | 255 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 256 insertions(+)}
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2018-03-10 20:15:19 UTC
(In reply to Fabian Groffen from comment #0)
> Created attachment 523362 [details, diff] [details, diff]
> Solaris SYS_uuidsys patch

Pushed as gdb-8.1-r1. Can you also file an upstream bug?
    https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb
Comment 3 Fabian Groffen gentoo-dev 2018-03-11 15:07:53 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=22950
Comment 4 Fabian Groffen gentoo-dev 2018-05-29 10:09:52 UTC
Official committed patch:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch;h=e28b63a989caffa4a6fba1aaf0d8992b37d13da8;hp=cd8c76e410a5f16a170cc680be1ae2ecb5528821

Separate patch is in Gentoo, next upstream release should have this included.