Closed
Bug 1157413
Opened 9 years ago
Closed 9 years ago
[gtk3] toolkit/xre/nsAppRunner.cpp: undefined reference to `gtk_window_set_auto_startup_notification'
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
DUPLICATE
of bug 1158154
Tracking | Status | |
---|---|---|
firefox40 | --- | affected |
People
(Reporter: jbeich, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
893 bytes,
patch
|
Details | Diff | Splinter Review |
gtk3 build cannot use gtk symbols directly in order to allow mixing with gtk2 plugins (see bug 624422). One has to pass them through mozgtk. ipc/glue/Unified_cpp_ipc_glue0.o: In function `mozilla::CrossProcessMutex::CrossProcessMutex(char const*)': ipc/glue/Unified_cpp_ipc_glue0.cpp:(.text._ZN7mozilla17CrossProcessMutexC2EPKc+0x197): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() xre/nsAppRunner.o: In function `XREMain::XRE_mainStartup(bool*)': toolkit/xre/nsAppRunner.cpp:(.text._ZN7XREMain15XRE_mainStartupEPb+0x75b): undefined reference to `gtk_window_set_auto_startup_notification' c++: error: linker command failed with exit code 1 (use -v to see invocation)
Attachment #8596126 -
Flags: review?(karlt)
Oops, that was pointless. mozgtk isn't built with gtk2 builds. $ fgrep -C1 mozgtk widget/gtk/moz.build if CONFIG['MOZ_ENABLE_GTK3']: DIRS += ['mozgtk'] gtk3: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3454524b406a
Comment 3•9 years ago
|
||
Comment on attachment 8596126 [details] [diff] [review] Add stub to mozgtk in order to unbreak GTK3 build after bug 1155943 Thanks. Please move STUB(gtk_window_set_auto_startup_notification) to the "#ifdef COMMON_SYMBOLS" block. It may work as long as the plugin container doesn't call this symbol, but this stub is not needed when mozgtk2 is built because gtk 2 provides this symbol.
Attachment #8596126 -
Flags: review?(karlt) → review+
(In reply to Karl Tomlinson (:karlt) from comment #3) > Please move STUB(gtk_window_set_auto_startup_notification) to the > "#ifdef COMMON_SYMBOLS" block. Actually, I did intend to put it there. Thanks for noticing. With the quoted fix carrying over r+. gtk3: https://treeherder.mozilla.org/#/jobs?repo=try&revision=0b47856777bd
Attachment #8596126 -
Attachment is obsolete: true
Keywords: checkin-needed
Whiteboard: [npotb]
Comment 6•9 years ago
|
||
Oops, apologies, Lee and I just ran into this issue, filed bug 1158154 and checked the same fix in without noticing this bug. Sorry about the duplicated effort.
That bug sure landed fast while breaking sorting within the file.
Status: NEW → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → DUPLICATE
Whiteboard: [npotb]
You need to log in
before you can comment on or make changes to this bug.
Description
•