php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79745 final link fail: undefined reference
Submitted: 2020-06-26 19:36 UTC Modified: 2020-09-27 04:22 UTC
From: lear at ofcourseimright dot com Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 8.0.0alpha1 OS: Ubuntu 18.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
8 + 6 = ?
Subscribe to this entry?

 
 [2020-06-26 19:36 UTC] lear at ofcourseimright dot com
Description:
------------
This is a clean version of 8.0.0alpha1.

There may be a dependency missing- not sure.  Not seeing the error off of master.



Test script:
---------------
 ./configure --with-openssl --with-zlib --with-bz2 --enable-calendar --with-curl --enable-exif --with-ffi --with-mysqli --enable-intl --with-ldap --with-apxs2=/usr/bin/apxs --enable-gd --with-jpeg

Expected result:
----------------
Expected:

Complete compile

Actual result:
--------------
/bin/bash /home/lear/src/php-src/libtool --silent --preserve-dup-deps --mode=link cc -export-dynamic -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -Wno-clobbered -DZEND_SIGNALS   -Wl,-zcommon-page-size=2097152 -Wl,-zmax-page-size=2097152   ext/date/php_date.o ext/date/lib/astro.o ext/date/lib/dow.o ext/date/lib/parse_date.o ext/date/lib/parse_tz.o ext/date/lib/timelib.o ext/date/lib/tm2unixtime.o ext/date/lib/unixtime2tm.o ext/date/lib/parse_iso_intervals.o ext/date/lib/interval.o ext/libxml/libxml.o ext/openssl/openssl.o ext/openssl/xp_ssl.o ext/pcre/pcre2lib/pcre2_auto_possess.o ext/pcre/pcre2lib/pcre2_chartables.o ext/pcre/pcre2lib/pcre2_compile.o ext/pcre/pcre2lib/pcre2_config.o ext/pcre/pcre2lib/pcre2_context.o ext/pcre/pcre2lib/pcre2_dfa_match.o ext/pcre/pcre2lib/pcre2_error.o ext/pcre/pcre2lib/pcre2_jit_compile.o ext/pcre/pcre2lib/pcre2_maketables.o ext/pcre/pcre2lib/pcre2_match.o ext/pcre/pcre2lib/pcre2_match_data.o ext/pcre/pcre2lib/pcre2_newline.o ext/pcre/pcre2lib/pcre2_ord2utf.o ext/pcre/pcre2lib/pcre2_pattern_info.o ext/pcre/pcre2lib/pcre2_serialize.o ext/pcre/pcre2lib/pcre2_string_utils.o ext/pcre/pcre2lib/pcre2_study.o ext/pcre/pcre2lib/pcre2_substitute.o ext/pcre/pcre2lib/pcre2_substring.o ext/pcre/pcre2lib/pcre2_tables.o ext/pcre/pcre2lib/pcre2_ucd.o ext/pcre/pcre2lib/pcre2_valid_utf.o ext/pcre/pcre2lib/pcre2_xclass.o ext/pcre/pcre2lib/pcre2_find_bracket.o ext/pcre/pcre2lib/pcre2_convert.o ext/pcre/pcre2lib/pcre2_extuni.o ext/pcre/pcre2lib/pcre2_script_run.o ext/pcre/php_pcre.o ext/sqlite3/sqlite3.o ext/zlib/zlib.o ext/zlib/zlib_fopen_wrapper.o ext/zlib/zlib_filter.o ext/bz2/bz2.o ext/bz2/bz2_filter.o ext/calendar/calendar.o ext/calendar/dow.o ext/calendar/french.o ext/calendar/gregor.o ext/calendar/jewish.o ext/calendar/julian.o ext/calendar/easter.o ext/calendar/cal_unix.o ext/ctype/ctype.o ext/curl/interface.o ext/curl/multi.o ext/curl/share.o ext/curl/curl_file.o ext/dom/php_dom.o ext/dom/attr.o ext/dom/document.o ext/dom/domexception.o ext/dom/parentnode.o ext/dom/processinginstruction.o ext/dom/cdatasection.o ext/dom/documentfragment.o ext/dom/domimplementation.o ext/dom/element.o ext/dom/node.o ext/dom/characterdata.o ext/dom/documenttype.o ext/dom/entity.o ext/dom/nodelist.o ext/dom/text.o ext/dom/comment.o ext/dom/entityreference.o ext/dom/notation.o ext/dom/xpath.o ext/dom/dom_iterators.o ext/dom/namednodemap.o ext/exif/exif.o ext/ffi/ffi.o ext/ffi/ffi_parser.o ext/fileinfo/fileinfo.o ext/fileinfo/libmagic/apprentice.o ext/fileinfo/libmagic/apptype.o ext/fileinfo/libmagic/ascmagic.o ext/fileinfo/libmagic/cdf.o ext/fileinfo/libmagic/cdf_time.o ext/fileinfo/libmagic/compress.o ext/fileinfo/libmagic/encoding.o ext/fileinfo/libmagic/fsmagic.o ext/fileinfo/libmagic/funcs.o ext/fileinfo/libmagic/is_json.o ext/fileinfo/libmagic/is_tar.o ext/fileinfo/libmagic/magic.o ext/fileinfo/libmagic/print.o ext/fileinfo/libmagic/readcdf.o ext/fileinfo/libmagic/softmagic.o ext/fileinfo/libmagic/der.o ext/fileinfo/libmagic/buffer.o ext/filter/filter.o ext/filter/sanitizing_filters.o ext/filter/logical_filters.o ext/filter/callback_filter.o ext/gd/gd.o ext/gd/libgd/gd.o ext/gd/libgd/gd_gd.o ext/gd/libgd/gd_gd2.o ext/gd/libgd/gd_io.o ext/gd/libgd/gd_io_dp.o ext/gd/libgd/gd_io_file.o ext/gd/libgd/gd_ss.o ext/gd/libgd/gd_io_ss.o ext/gd/libgd/gd_webp.o ext/gd/libgd/gd_png.o ext/gd/libgd/gd_jpeg.o ext/gd/libgd/gdxpm.o ext/gd/libgd/gdfontt.o ext/gd/libgd/gdfonts.o ext/gd/libgd/gdfontmb.o ext/gd/libgd/gdfontl.o ext/gd/libgd/gdfontg.o ext/gd/libgd/gdtables.o ext/gd/libgd/gdft.o ext/gd/libgd/gdcache.o ext/gd/libgd/gdkanji.o ext/gd/libgd/wbmp.o ext/gd/libgd/gd_wbmp.o ext/gd/libgd/gdhelpers.o ext/gd/libgd/gd_topal.o ext/gd/libgd/gd_gif_in.o ext/gd/libgd/gd_xbm.o ext/gd/libgd/gd_gif_out.o ext/gd/libgd/gd_security.o ext/gd/libgd/gd_filter.o ext/gd/libgd/gd_pixelate.o ext/gd/libgd/gd_rotate.o ext/gd/libgd/gd_color_match.o ext/gd/libgd/gd_transform.o ext/gd/libgd/gd_crop.o ext/gd/libgd/gd_interpolation.o ext/gd/libgd/gd_matrix.o ext/gd/libgd/gd_bmp.o ext/gd/libgd/gd_tga.o ext/hash/hash.o ext/hash/hash_md.o ext/hash/hash_sha.o ext/hash/hash_ripemd.o ext/hash/hash_haval.o ext/hash/hash_tiger.o ext/hash/hash_gost.o ext/hash/hash_snefru.o ext/hash/hash_whirlpool.o ext/hash/hash_adler32.o ext/hash/hash_crc32.o ext/hash/hash_fnv.o ext/hash/hash_joaat.o ext/hash/sha3/generic64lc/KeccakP-1600-opt64.o ext/hash/sha3/generic64lc/KeccakHash.o ext/hash/sha3/generic64lc/KeccakSponge.o ext/hash/hash_sha3.o ext/iconv/iconv.o ext/intl/php_intl.o ext/intl/intl_error.o ext/intl/intl_convert.o ext/intl/collator/collator.o ext/intl/collator/collator_class.o ext/intl/collator/collator_sort.o ext/intl/collator/collator_convert.o ext/intl/collator/collator_locale.o ext/intl/collator/collator_compare.o ext/intl/collator/collator_attr.o ext/intl/collator/collator_create.o ext/intl/collator/collator_is_numeric.o ext/intl/collator/collator_error.o ext/intl/common/common_error.o ext/intl/converter/converter.o ext/intl/formatter/formatter.o ext/intl/formatter/formatter_main.o ext/intl/formatter/formatter_class.o ext/intl/formatter/formatter_attr.o ext/intl/formatter/formatter_data.o ext/intl/formatter/formatter_format.o ext/intl/formatter/formatter_parse.o ext/intl/normalizer/normalizer.o ext/intl/normalizer/normalizer_class.o ext/intl/normalizer/normalizer_normalize.o ext/intl/locale/locale.o ext/intl/locale/locale_class.o ext/intl/locale/locale_methods.o ext/intl/dateformat/dateformat.o ext/intl/dateformat/dateformat_class.o ext/intl/dateformat/dateformat_attr.o ext/intl/dateformat/dateformat_data.o ext/intl/dateformat/dateformat_format.o ext/intl/dateformat/dateformat_parse.o ext/intl/msgformat/msgformat.o ext/intl/msgformat/msgformat_attr.o ext/intl/msgformat/msgformat_class.o ext/intl/msgformat/msgformat_data.o ext/intl/msgformat/msgformat_format.o ext/intl/msgformat/msgformat_parse.o ext/intl/grapheme/grapheme_string.o ext/intl/grapheme/grapheme_util.o ext/intl/resourcebundle/resourcebundle.o ext/intl/resourcebundle/resourcebundle_class.o ext/intl/resourcebundle/resourcebundle_iterator.o ext/intl/transliterator/transliterator.o ext/intl/transliterator/transliterator_class.o ext/intl/transliterator/transliterator_methods.o ext/intl/uchar/uchar.o ext/intl/idn/idn.o ext/intl/spoofchecker/spoofchecker_class.o ext/intl/spoofchecker/spoofchecker.o ext/intl/spoofchecker/spoofchecker_create.o ext/intl/spoofchecker/spoofchecker_main.o ext/intl/intl_convertcpp.o ext/intl/common/common_enum.o ext/intl/common/common_date.o ext/intl/dateformat/dateformat_format_object.o ext/intl/dateformat/dateformat_create.o ext/intl/dateformat/dateformat_attrcpp.o ext/intl/dateformat/dateformat_helpers.o ext/intl/msgformat/msgformat_helpers.o ext/intl/timezone/timezone_class.o ext/intl/timezone/timezone_methods.o ext/intl/calendar/calendar_class.o ext/intl/calendar/calendar_methods.o ext/intl/calendar/gregoriancalendar_methods.o ext/intl/breakiterator/breakiterator_class.o ext/intl/breakiterator/breakiterator_iterators.o ext/intl/breakiterator/breakiterator_methods.o ext/intl/breakiterator/rulebasedbreakiterator_methods.o ext/intl/breakiterator/codepointiterator_internal.o ext/intl/breakiterator/codepointiterator_methods.o ext/json/json.o ext/json/json_encoder.o ext/json/json_parser.o ext/json/json_scanner.o ext/ldap/ldap.o ext/mysqli/mysqli.o ext/mysqli/mysqli_api.o ext/mysqli/mysqli_prop.o ext/mysqli/mysqli_nonapi.o ext/mysqli/mysqli_report.o ext/mysqli/mysqli_driver.o ext/mysqli/mysqli_warning.o ext/mysqli/mysqli_exception.o ext/mysqli/mysqli_result_iterator.o ext/pdo/pdo.o ext/pdo/pdo_dbh.o ext/pdo/pdo_stmt.o ext/pdo/pdo_sql_parser.o ext/pdo/pdo_sqlstate.o ext/pdo_sqlite/pdo_sqlite.o ext/pdo_sqlite/sqlite_driver.o ext/pdo_sqlite/sqlite_statement.o ext/phar/util.o ext/phar/tar.o ext/phar/zip.o ext/phar/stream.o ext/phar/func_interceptors.o ext/phar/dirstream.o ext/phar/phar.o ext/phar/phar_object.o ext/phar/phar_path_check.o ext/posix/posix.o ext/reflection/php_reflection.o ext/session/mod_user_class.o ext/session/session.o ext/session/mod_files.o ext/session/mod_mm.o ext/session/mod_user.o ext/simplexml/simplexml.o ext/spl/php_spl.o ext/spl/spl_functions.o ext/spl/spl_engine.o ext/spl/spl_iterators.o ext/spl/spl_array.o ext/spl/spl_directory.o ext/spl/spl_exceptions.o ext/spl/spl_observer.o ext/spl/spl_dllist.o ext/spl/spl_heap.o ext/spl/spl_fixedarray.o ext/standard/crypt_freesec.o ext/standard/crypt_blowfish.o ext/standard/crypt_sha512.o ext/standard/crypt_sha256.o ext/standard/php_crypt_r.o ext/standard/array.o ext/standard/base64.o ext/standard/basic_functions.o ext/standard/browscap.o ext/standard/crc32.o ext/standard/crypt.o ext/standard/datetime.o ext/standard/dir.o ext/standard/dl.o ext/standard/dns.o ext/standard/exec.o ext/standard/file.o ext/standard/filestat.o ext/standard/flock_compat.o ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o ext/standard/html.o ext/standard/image.o ext/standard/info.o ext/standard/iptc.o ext/standard/lcg.o ext/standard/link.o ext/standard/mail.o ext/standard/math.o ext/standard/md5.o ext/standard/metaphone.o ext/standard/microtime.o ext/standard/pack.o ext/standard/pageinfo.o ext/standard/quot_print.o ext/standard/rand.o ext/standard/mt_rand.o ext/standard/soundex.o ext/standard/string.o ext/standard/scanf.o ext/standard/syslog.o ext/standard/type.o ext/standard/uniqid.o ext/standard/url.o ext/standard/var.o ext/standard/versioning.o ext/standard/assert.o ext/standard/strnatcmp.o ext/standard/levenshtein.o ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o ext/standard/ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o ext/standard/php_fopen_wrapper.o ext/standard/credits.o ext/standard/css.o ext/standard/var_unserializer.o ext/standard/ftok.o ext/standard/sha1.o ext/standard/user_filters.o ext/standard/uuencode.o ext/standard/filters.o ext/standard/proc_open.o ext/standard/streamsfuncs.o ext/standard/http.o ext/standard/password.o ext/standard/random.o ext/standard/net.o ext/standard/hrtime.o ext/tokenizer/tokenizer.o ext/tokenizer/tokenizer_data.o ext/xml/xml.o ext/xml/compat.o ext/xmlreader/php_xmlreader.o ext/xmlwriter/php_xmlwriter.o ext/mysqlnd/mysqlnd_connection.o ext/mysqlnd/mysqlnd_alloc.o ext/mysqlnd/mysqlnd_charset.o ext/mysqlnd/mysqlnd_wireprotocol.o ext/mysqlnd/mysqlnd_loaddata.o ext/mysqlnd/mysqlnd_reverse_api.o ext/mysqlnd/mysqlnd_vio.o ext/mysqlnd/mysqlnd_protocol_frame_codec.o ext/mysqlnd/mysqlnd_statistics.o ext/mysqlnd/mysqlnd_driver.o ext/mysqlnd/mysqlnd_ext_plugin.o ext/mysqlnd/mysqlnd_auth.o ext/mysqlnd/mysqlnd_result.o ext/mysqlnd/mysqlnd_result_meta.o ext/mysqlnd/mysqlnd_debug.o ext/mysqlnd/mysqlnd_commands.o ext/mysqlnd/mysqlnd_block_alloc.o ext/mysqlnd/mysqlnd_read_buffer.o ext/mysqlnd/mysqlnd_plugin.o ext/mysqlnd/php_mysqlnd.o ext/mysqlnd/mysqlnd_ps.o ext/mysqlnd/mysqlnd_ps_codec.o TSRM/TSRM.o main/main.o main/snprintf.o main/spprintf.o main/fopen_wrappers.o main/alloca.o main/php_scandir.o main/php_ini.o main/SAPI.o main/rfc1867.o main/php_content_types.o main/strlcpy.o main/strlcat.o main/explicit_bzero.o main/reentrancy.o main/php_variables.o main/php_ticks.o main/network.o main/php_open_temporary_file.o main/output.o main/getopt.o main/php_syslog.o main/streams/streams.o main/streams/cast.o main/streams/memory.o main/streams/filter.o main/streams/plain_wrapper.o main/streams/userspace.o main/streams/transports.o main/streams/xp_socket.o main/streams/mmap.o main/streams/glob_wrapper.o Zend/zend_language_parser.o Zend/zend_language_scanner.o Zend/zend_ini_parser.o Zend/zend_ini_scanner.o Zend/zend_alloc.o Zend/zend_compile.o Zend/zend_constants.o Zend/zend_dtrace.o Zend/zend_execute_API.o Zend/zend_highlight.o Zend/zend_llist.o Zend/zend_vm_opcodes.o Zend/zend_opcode.o Zend/zend_operators.o Zend/zend_ptr_stack.o Zend/zend_stack.o Zend/zend_variables.o Zend/zend.o Zend/zend_API.o Zend/zend_extensions.o Zend/zend_hash.o Zend/zend_list.o Zend/zend_builtin_functions.o Zend/zend_attributes.o Zend/zend_execute.o Zend/zend_ini.o Zend/zend_sort.o Zend/zend_multibyte.o Zend/zend_ts_hash.o Zend/zend_stream.o Zend/zend_iterators.o Zend/zend_interfaces.o Zend/zend_exceptions.o Zend/zend_strtod.o Zend/zend_gc.o Zend/zend_closures.o Zend/zend_weakrefs.o Zend/zend_float.o Zend/zend_string.o Zend/zend_signal.o Zend/zend_generators.o Zend/zend_virtual_cwd.o Zend/zend_ast.o Zend/zend_objects.o Zend/zend_object_handlers.o Zend/zend_objects_API.o Zend/zend_default_classes.o Zend/zend_inheritance.o Zend/zend_smart_str.o Zend/zend_cpuinfo.o Zend/zend_gdb.o main/internal_functions_cli.o sapi/cli/php_cli.o sapi/cli/php_http_parser.o sapi/cli/php_cli_server.o sapi/cli/ps_title.o sapi/cli/php_cli_process_title.o -lcrypt -lresolv -lcrypt -lrt -lldap -llber -lstdc++ -lbz2 -lutil -lrt -lm -ldl -lxml2 -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -lffi -lz -lpng16 -lz -ljpeg -licuio -licui18n -licuuc -licudata -lsqlite3 -lxml2 -lxml2 -lxml2 -lxml2 -lz -lssl -lcrypto -lcrypt  -o sapi/cli/php
ext/simplexml/simplexml.o: In function `zm_startup_simplexml':
/home/lear/src/php-src/ext/simplexml/simplexml.c:2655: undefined reference to `zm_startup_sxe'
collect2: error: ld returned 1 exit status
Makefile:295: recipe for target 'sapi/cli/php' failed
make: *** [sapi/cli/php] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-06-29 08:54 UTC] nikic@php.net
This is odd. I removed the sxe.c file shortly *after* alpha1. This is the behavior I'd expect if you switch between master and alpha1 without rerunning ./buildconf and ./config.nice, but you say that this is on a clean checkout, so this shouldn't be the cause...
 [2020-09-17 13:30 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-09-17 13:30 UTC] cmb@php.net
Do you still experience this link error with PHP 8.0.0beta3 (or
8.0.0beta4, which is supposed to be released today)?
 [2020-09-27 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Mar 04 17:01:38 2024 UTC