Closed
Bug 290923
Opened 20 years ago
Closed 19 years ago
linking of libsimpletest.so fails --with-system-nspr
Categories
(Toolkit Graveyard :: Build Config, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: wolfiR, Assigned: benjamin)
Details
(Whiteboard: [xulrunner build])
c++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Os -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-h -Wl,libsimpletest.so -o libsimpletest.so SimpleTest.o -lxpcomglue_s -L../../../../../dist/bin -Wl,-rpath-link,../../../../../dist/bin -lxpcom -lxul -L../../../../../dist/bin -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,--version-script -Wl,../../../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -lxpcomglue_s collect2: ld returned 1 exit status libxpomglue_s.a is only in dist/lib and not in dist/bin. It can't be found because of this.
Updated•20 years ago
|
Whiteboard: [xulrunner build]
| Assignee | ||
Comment 1•20 years ago
|
||
We should be using the new
$(XPCOM_GLUE_LDOPTS) makefile var.
Updated•20 years ago
|
Severity: normal → major
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.8beta2
Comment 2•20 years ago
|
||
So, I wonder why the linux tinderbox is green: http://tinderbox.mozilla.org/showbuilds.cgi?tree=XULRunner Is there something special about your linux?
| Reporter | ||
Comment 3•20 years ago
|
||
(In reply to comment #2) > So, I wonder why the linux tinderbox is green: > http://tinderbox.mozilla.org/showbuilds.cgi?tree=XULRunner I can't see enough information about the builds there. Maybe it's only green because it's no clean build and old files are around? > Is there something special about your linux? Don' think so. The linker can't find the archive because there is no directive to find it in dist/lib. Is libxpcomglue_s.a in dist/bin in your clean build?
| Reporter | ||
Comment 4•20 years ago
|
||
don't know what happened in the meantime but now it works for me.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 5•20 years ago
|
||
hmm, it works usually but it fails if --with-system-nspr is used
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
| Reporter | ||
Comment 6•20 years ago
|
||
--- xulrunner/examples/simple/components/src/Makefile.in 22 Apr 2005 13:44:41 -0000 1.3 +++ xulrunner/examples/simple/components/src/Makefile.in 6 Jun 2005 19:45:30 -0000 @@ -52,11 +52,11 @@ IS_COMPONENT = 1 CPPSRCS = SimpleTest.cpp # We link against the xpcom glue library to avoid depending on unfrozen # XPCOM symbols. EXTRA_DSO_LIBS = xpcomglue_s -EXTRA_DSO_LDOPTS= $(EXTRA_DSO_LIBS) $(MOZ_COMPONENT_LIBS) +EXTRA_DSO_LDOPTS= $(EXTRA_DSO_LIBS) $(MOZ_COMPONENT_LIBS) $(LIBS_DIR) EXTRA_COMPONENTS= $(srcdir)/SimpleTest.js include $(topsrcdir)/config/rules.mk This patch works but I think there could be another (better) solution. At least Benjamin recommended another solution.
Updated•19 years ago
|
Target Milestone: mozilla1.8beta2 → mozilla1.9alpha1
| Assignee | ||
Updated•19 years ago
|
Assignee: darin → benjamin
Status: REOPENED → NEW
Summary: linking of libsimpletest.so fails → linking of libsimpletest.so fails --with-system-nspr
| Assignee | ||
Comment 7•19 years ago
|
||
This was fixed on 2005-07-25 by bug 299991 to use the correct var.
Status: NEW → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•