fix build on mips+musl libc
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
People
(Reporter: giulio.benetti, Unassigned)
References
(Regressed 1 open bug)
Details
Attachments
(1 file)
756 bytes,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Steps to reproduce:
git clone git://git.busybox.net/buildroot
cd buildroot
git checkout 8f3cfe41961d83a9c01630f241bf045e3aa59b40
wget -O .config http://autobuild.buildroot.net/results/61743bf5ad9ddc69786ae854ed4ab58c59f64dd0/config
make olddefconfig && make
Actual results:
Here is the build failure log:
http://autobuild.buildroot.net/results/61743bf5ad9ddc69786ae854ed4ab58c59f64dd0/build-end.log
/home/autobuild/autobuild/instance-1/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -o prfdcach.o -c -fvisibility=hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -pthread -g -fno-inline -fPIC -UNDEBUG -DDEBUG_autobuild -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DHAVE_POINTER_LOCALTIME_R=1 -DLINUX=1 -DHAVE_DLADDR=1 -DHAVE_GETTID=1 -DHAVE_LCHOWN=1 -DHAVE_SETPRIORITY=1 -DHAVE_STRERROR=1 -DHAVE_SYSCALL=1 -DHAVE_SECURE_GETENV=1 -D_REENTRANT=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6 -D_NSPR_BUILD_ -I../../../dist/include/nspr -I../../../pr/include -I../../../pr/include/private prfdcach.c
In file included from ../../../dist/include/nspr/prtypes.h:26,
from ../../../dist/include/nspr/pratom.h:14,
from ../../../dist/include/nspr/nspr.h:9,
from ../../../pr/include/private/primpl.h:27,
from prfdcach.c:6:
../../../dist/include/nspr/prcpucfg.h:502:10: fatal error: sgidefs.h: No such file or directory
502 | #include <sgidefs.h>
| ^~~~~~~~~~~
compilation terminated.
Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:KaiE, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 3•2 years ago
|
||
Are you sure this works on all platforms that match
#elif defined(__mips__)
?
Reporter | ||
Comment 4•2 years ago
|
||
(In reply to Kai Engert (:KaiE:) from comment #3)
Are you sure this works on all platforms that match
#elif defined(__mips__)
?
Hi Kai,
it is building like that in Buildroot autobuilders since 3 weeks.
Here is the libnspr package with this patch as local:
https://gitlab.com/buildroot.org/buildroot/-/tree/master/package/libnspr
Kind regards
Reporter | ||
Comment 5•2 years ago
|
||
(In reply to Kai Engert (:KaiE:) from comment #3)
Are you sure this works on all platforms that match
#elif defined(__mips__)
?
Hi Kai,
any news about this patch?
Kind regards
Reporter | ||
Comment 6•2 years ago
|
||
(In reply to Kai Engert (:KaiE:) from comment #3)
Are you sure this works on all platforms that match
#elif defined(__mips__)
?
Hi Kai,
patch is still pending and working perfectly in Buildroot since 3 months.
Can you please commit it for the upcoming version 4.35?
Thanks in advance
Giulio
Comment 7•2 years ago
|
||
Description
•