Closed Bug 1853619 Opened 2 years ago Closed 2 years ago

Undefined symbol _ZNK17double_conversion23StringToDoubleConverter14StringToDoubleEPKtiPi

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr102 unaffected, firefox-esr115 unaffected, firefox117 unaffected, firefox118 unaffected, firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- unaffected
firefox118 --- unaffected
firefox119 --- fixed

People

(Reporter: petr.sumbera, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

I see following error on SPARC Solaris (not i386!):

61:44.90 Undefined                      first referenced
61:44.90  symbol                            in file
61:44.91 _ZNK17double_conversion23StringToDoubleConverter14StringToDoubleEPKtiPi /builds2/psumbera/mozilla-central-build/obj-sparc64-sun-solaris2.11/config/external/icu/i18n/host_number_decimalquantity.o
61:44.91 _ZNK17double_conversion23StringToDoubleConverter14StringToDoubleEPKciPi /builds2/psumbera/mozilla-central-build/obj-sparc64-sun-solaris2.11/config/external/icu/i18n/host_units_converter.o
61:44.91 _ZN17double_conversion23DoubleToStringConverter13DoubleToAsciiEdNS0_8DtoaModeEiPciPbPiS4_ /builds2/psumbera/mozilla-central-build/obj-sparc64-sun-solaris2.11/config/external/icu/i18n/host_number_decimalquantity.o
61:44.91 ld: fatal: symbol referencing errors
61:44.99 collect2: error: ld returned 1 exit status
61:45.00 gmake[4]: *** [/builds2/psumbera/mozilla-central-build/config/rules.mk:437: ../../../../dist/host/bin/icupkg] Error 1
61:45.01 gmake[3]: *** [/builds2/psumbera/mozilla-central-build/config/recurse.mk:72: config/external/icu/icupkg/host] Error 2
61:45.01 gmake[3]: *** Waiting for unfinished jobs....

The first bad revision is:
changeset: 678235:342715c534a9
user: serge-sans-paille <sguelton@mozilla.com>
date: Fri Sep 15 01:27:43 2023 -0700
description:
Bug 1852210 - Remove duplicate double_conversion sources r=dminor

Keywords: regression
Regressed by: 1852210

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → Firefox Build System

:sergesanspaille, since you are the author of the regressor, bug 1852210, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(sguelton)

How strange... which configure flags are you using? Could you do a clean rebuild with mach build -v and share the output (you can grab it through mach show-log > build.log)

Flags: needinfo?(sguelton)

There is probably some problem with show-log on Solaris?! It ends like this:

FileNotFoundError: [Errno 2] No such file or directory: '/builds2/psumbera/mozilla-central-build/obj-sparc64-sun-solaris2.11/.mozbuild/last_log.json'

  File "/builds2/psumbera/mozilla-central-build/python/mozbuild/mozbuild/mach_commands.py", line 599, in show_log
    log_file = open(path, "rb")

I tried to attache build output but I'm getting an error as the file is probably too big (9.46MiB).

Note also that tha problem is only seen on SPARC - big endian platform.

To reproduce on little endian: remove all conditionals related to TARGET_ENDIANNESS in config/external/icu/common/moz.build, config/external/icu/data/moz.build, config/external/icu/i18n/moz.build and config/external/icu/moz.build

for the record, seen on Fedora/s390x too

Assignee: nobody → mh+mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Set release status flags based on info from the regressing bug 1852210

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/e54e1c7d443b Build double-conversion for icupkg on big endians. r=sergesanspaille
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: