Closed
Bug 526
Opened 26 years ago
Closed 26 years ago
Won't Compile on Sparc Linux (Redhat 5.1)
Categories
(NSPR :: NSPR, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: apdt97, Assigned: wtc)
Details
Created by Alex Tomlins (apdt97@doc.ic.ac.uk) on Wednesday, August 12, 1998 6:59:24 AM PDT
Additional Details :
Compile stops with the following error.
gcc -o Linux2.0.33_sparc_DBG.OBJ/linux.o -c -g -fPIC -ansi
-Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE
-DHAVE_STRERROR -DFORCE_PR_LOG -DXP_UNIX -DDEBUG -UNDEBUG
-DDEBUG_root -D_PR_LOCAL_THREADS_ONLY
-I../../../../../dist/Linux2.0.33_sparc_DBG.OBJ/include/private
-I../../../../../dist/Linux2.0.33_sparc_DBG.OBJ/include
linux.c
linux.c: In function `_MD_InitializeThread':
linux.c:63: request for member `__fp' in something not a
structure or union
make[5]: *** [Linux2.0.33_sparc_DBG.OBJ/linux.o] Error 1
make[5]: Leaving directory
`/mnt/d/rpm/BUILD/mozilla/nsprpub/pr/src/md/unix'
make[4]: *** [export] Error 2
make[4]: Leaving directory
`/mnt/d/rpm/BUILD/mozilla/nsprpub/pr/src/md'
make[3]: *** [export] Error 2
make[3]: Leaving directory
`/mnt/d/rpm/BUILD/mozilla/nsprpub/pr/src'
make[2]: *** [export] Error 2
make[2]: Leaving directory
`/mnt/d/rpm/BUILD/mozilla/nsprpub/pr'
make[1]: *** [export] Error 2
make[1]: Leaving directory
`/mnt/d/rpm/BUILD/mozilla/nsprpub'
make: *** [export] Error 2
I am using lesstif version 0.85
Updated by Alex Tomlins (apdt97@doc.ic.ac.uk) on Friday, August 14, 1998 2:02:00 AM PDT
Additional Details :
This error has now been sorted, but it now comes up with an error, saying it
cannot execute cc1plus
I have GNU make 3.76.1 and GCC version egcs-2.90.27 (egcs-1.0.2 release)
thanks
Alex
Updated•26 years ago
|
Assignee: briano → wtc
Comment 1•26 years ago
|
||
Reassigning this bug to Wan-Teh Chang.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•26 years ago
|
||
On Red Hat 5.1, you need to set the environment
variable USE_PTHREADS to 1 before you build.
In csh, you say:
setenv USE_PTHREADS 1
The reason is that I haven't been able to make
our user-level threads work on RH 5.1 Sparc,
but I can make Mozilla run on pthreads (LinuxThreads).
The USE_PTHREADS fix is already checked in. If you
use cvs to pull the source, it's already there.
If you use the monthly tar file, you will have to wait
for the next tar file release.
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Component: Build Config → NSPR
Resolution: --- → FIXED
Summary: Won's Compile on Sparc Linux (Redhat 5.1) → Won't Compile on Sparc Linux (Redhat 5.1)
Assignee | ||
Comment 3•26 years ago
|
||
We found that you need glibc2-2.0.7-25 or later, otherwise
the setjmp/longjmp functions don't work on Linux/Sparc.
The libraries that came with redhat 5.1 are not new enough,
but they are in 5.2.
I just added the above comments to nsprpub/pr/include/md/_linux.h
(revision 3.19), so you can now build on Red Hat Linux/sparc 5.2,
or 5.1 if you specify USE_PTHREADS=1.
Comment 5•25 years ago
|
||
NSPR now has its own Bugzilla product. Moving this bug to the NSPR product.
You need to log in
before you can comment on or make changes to this bug.
Description
•