Closed Bug 776305 Opened 7 years ago Closed 7 years ago

Link error in js/: js: hidden symbol `deflateInit_' isn't defined when using system zlib

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: mounir, Assigned: glandium)

References

Details

Attachments

(1 file)

With gcc-4.5.3.
Is this bug 776126?
I think so.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 776126
Hmm, maybe not.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
I assume you've done the whole clobber/autoreconf dance?
`rm -rf objdir && make -f client.mk`
should be enough?

The difference between this bug and the other is that I'm not using the same mozconfig options: I'm not using a shared js but I'm using a system zlib.
I confirm, it's because of system-zlib.
Fails for me, too.
Assignee: general → nobody
Component: JavaScript Engine → Build Config
Summary: Link error in js/: js: hidden symbol `deflateInit_' isn't defined → Link error in js/: js: hidden symbol `deflateInit_' isn't defined when using system zlib
Can you attach your build log? I can't reproduce.
Blocks: 763651
I can reproduce this bug during building Thunderbird but not reproduce during XULrunner.
Build environment:
Fedora 17 x86_64
gcc-4.7.0
zlib-1.2.5
Ah, I finally reproduced.
Assignee: nobody → mh+mozilla
For those who would apply the patch: note ccache is not being very helpful in this case. 
Use CCACHE_RECACHE=1 make -C objdir/js/src jsutil.o
Duplicate of this bug: 776489
https://hg.mozilla.org/mozilla-central/rev/64de88e18420
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.