Closed
Bug 845853
Opened 13 years ago
Closed 12 years ago
-lrt not found while building emulator-x86
Categories
(Firefox OS Graveyard :: Emulator, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ddan.dcaju, Unassigned)
Details
Attachments
(1 file)
|
9.22 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130218103006
Steps to reproduce:
i tried to build emulator-x86 on debian wheezy
Actual results:
it stoped at the following error while building libnspr4.so
B2G/prebuilt/linux-x86/toolchain/i686-android-linux-4.4.3/i686-android-linux/bin/ld: cannot find -lrt
a problem similar to https://groups.google.com/forum/#!searchin/mozilla.dev.b2g/lrt/mozilla.dev.b2g/JqhCJDHb5O4/1nLgwogwYPEJ
Expected results:
the -lrt flag should not have been passed to ld as to my understanding android's bionic has librt built into the standard c library
also in nsprpub/pr/src/Makefile.in -lrt is set as a build flag even if the platform is android
ifeq ($(OS_ARCH),Linux)
ifeq ($(USE_PTHREADS), 1)
ifeq ($(OS_TARGET),Android)
# Android has no libpthread.so in NDK
OS_LIBS = -ldl
else
OS_LIBS = -lpthread -ldl
endif
else
OS_LIBS = -ldl
endif
OS_LIBS += -lrt
endif
it could be relevant
| Reporter | ||
Updated•13 years ago
|
OS: All → Linux
Hardware: All → x86_64
Updated•12 years ago
|
Component: General → Emulator
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Hi, I'm closing this bug as WORKSFORME. Attachement 8418792 is the currently installed packages in my minimum Debian Wheezy build chroot. Should you still have any problem, please feel free to reopen this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•