Opened 2 months ago

Last modified 2 months ago

#58315 assigned defect

minetest @5.0.1: link fails on darwin 10 i386: ld: section __mach_header (address=0x100000000, size=33552) would make the output executable exceed available address range for architecture i386

Reported by: kencu (Ken) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard leopard tiger Cc:
Port: minetest

Description

Haven't seen this error before. Perhaps forcing a newer linker might help?

<https://build.macports.org/builders/ports-10.6_i386_legacy-builder/builds/63075/steps/install-port/logs/stdio>

/opt/local/bin/clang++-mp-5.0  -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -I/opt/local/include -stdlib=macports-libstdc++ -std=c++11 -DNDEBUG -Wall   "-D__extern_always_inline=extern __always_inline" -Wsign-compare -Wall -pipe -funroll-loops -Os -arch i386 -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -pagezero_size 10000 -image_base 100000000 CMakeFiles/minetest.dir/client/activeobjectmgr.cpp.o CMakeFiles/minetest.dir/client/camera.cpp.o CMakeFiles/minetest.dir/client/client.cpp.o CMakeFiles/minetest.dir/client/clientenvironment.cpp.o CMakeFiles/minetest.dir/client/clientlauncher.cpp.o CMakeFiles/minetest.dir/client/clientmap.cpp.o CMakeFiles/minetest.dir/client/clientmedia.cpp.o CMakeFiles/minetest.dir/client/clientobject.cpp.o CMakeFiles/minetest.dir/client/clouds.cpp.o CMakeFiles/minetest.dir/client/content_cao.cpp.o CMakeFiles/minetest.dir/client/content_cso.cpp.o CMakeFiles/minetest.dir/client/content_mapblock.cpp.o CMakeFiles/minetest.dir/client/filecache.cpp.o CMakeFiles/minetest.dir/client/fontengine.cpp.o CMakeFiles/minetest.dir/client/game.cpp.o CMakeFiles/minetest.dir/client/gameui.cpp.o CMakeFiles/minetest.dir/client/guiscalingfilter.cpp.o CMakeFiles/minetest.dir/client/hud.cpp.o CMakeFiles/minetest.dir/client/imagefilters.cpp.o CMakeFiles/minetest.dir/client/inputhandler.cpp.o CMakeFiles/minetest.dir/client/joystick_controller.cpp.o CMakeFiles/minetest.dir/client/keycode.cpp.o CMakeFiles/minetest.dir/client/localplayer.cpp.o CMakeFiles/minetest.dir/client/mapblock_mesh.cpp.o CMakeFiles/minetest.dir/client/mesh.cpp.o CMakeFiles/minetest.dir/client/mesh_generator_thread.cpp.o CMakeFiles/minetest.dir/client/meshgen/collector.cpp.o CMakeFiles/minetest.dir/client/minimap.cpp.o CMakeFiles/minetest.dir/client/particles.cpp.o CMakeFiles/minetest.dir/client/render/anaglyph.cpp.o CMakeFiles/minetest.dir/client/render/core.cpp.o CMakeFiles/minetest.dir/client/render/factory.cpp.o CMakeFiles/minetest.dir/client/render/interlaced.cpp.o CMakeFiles/minetest.dir/client/render/pageflip.cpp.o CMakeFiles/minetest.dir/client/render/plain.cpp.o CMakeFiles/minetest.dir/client/render/sidebyside.cpp.o CMakeFiles/minetest.dir/client/render/stereo.cpp.o CMakeFiles/minetest.dir/client/renderingengine.cpp.o CMakeFiles/minetest.dir/client/shader.cpp.o CMakeFiles/minetest.dir/client/sky.cpp.o CMakeFiles/minetest.dir/client/sound.cpp.o CMakeFiles/minetest.dir/client/sound_openal.cpp.o CMakeFiles/minetest.dir/client/tile.cpp.o CMakeFiles/minetest.dir/client/wieldmesh.cpp.o CMakeFiles/minetest.dir/content/content.cpp.o CMakeFiles/minetest.dir/content/mods.cpp.o CMakeFiles/minetest.dir/content/packages.cpp.o CMakeFiles/minetest.dir/content/subgames.cpp.o CMakeFiles/minetest.dir/database/database-dummy.cpp.o CMakeFiles/minetest.dir/database/database-files.cpp.o CMakeFiles/minetest.dir/database/database-leveldb.cpp.o CMakeFiles/minetest.dir/database/database-postgresql.cpp.o CMakeFiles/minetest.dir/database/database-redis.cpp.o CMakeFiles/minetest.dir/database/database-sqlite3.cpp.o CMakeFiles/minetest.dir/database/database.cpp.o CMakeFiles/minetest.dir/gui/guiChatConsole.cpp.o CMakeFiles/minetest.dir/gui/guiConfirmRegistration.cpp.o CMakeFiles/minetest.dir/gui/guiEditBoxWithScrollbar.cpp.o CMakeFiles/minetest.dir/gui/guiEngine.cpp.o CMakeFiles/minetest.dir/gui/guiFormSpecMenu.cpp.o CMakeFiles/minetest.dir/gui/guiKeyChangeMenu.cpp.o CMakeFiles/minetest.dir/gui/guiPasswordChange.cpp.o CMakeFiles/minetest.dir/gui/guiPathSelectMenu.cpp.o CMakeFiles/minetest.dir/gui/guiTable.cpp.o CMakeFiles/minetest.dir/gui/guiVolumeChange.cpp.o CMakeFiles/minetest.dir/gui/intlGUIEditBox.cpp.o CMakeFiles/minetest.dir/gui/modalMenu.cpp.o CMakeFiles/minetest.dir/gui/profilergraph.cpp.o CMakeFiles/minetest.dir/irrlicht_changes/CGUITTFont.cpp.o CMakeFiles/minetest.dir/irrlicht_changes/static_text.cpp.o CMakeFiles/minetest.dir/mapgen/cavegen.cpp.o CMakeFiles/minetest.dir/mapgen/dungeongen.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen_carpathian.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen_flat.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen_fractal.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen_singlenode.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen_v5.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen_v6.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen_v7.cpp.o CMakeFiles/minetest.dir/mapgen/mapgen_valleys.cpp.o CMakeFiles/minetest.dir/mapgen/mg_biome.cpp.o CMakeFiles/minetest.dir/mapgen/mg_decoration.cpp.o CMakeFiles/minetest.dir/mapgen/mg_ore.cpp.o CMakeFiles/minetest.dir/mapgen/mg_schematic.cpp.o CMakeFiles/minetest.dir/mapgen/treegen.cpp.o CMakeFiles/minetest.dir/network/address.cpp.o CMakeFiles/minetest.dir/network/clientopcodes.cpp.o CMakeFiles/minetest.dir/network/clientpackethandler.cpp.o CMakeFiles/minetest.dir/network/connection.cpp.o CMakeFiles/minetest.dir/network/connectionthreads.cpp.o CMakeFiles/minetest.dir/network/networkpacket.cpp.o CMakeFiles/minetest.dir/network/serveropcodes.cpp.o CMakeFiles/minetest.dir/network/serverpackethandler.cpp.o CMakeFiles/minetest.dir/network/socket.cpp.o CMakeFiles/minetest.dir/script/common/c_content.cpp.o CMakeFiles/minetest.dir/script/common/c_converter.cpp.o CMakeFiles/minetest.dir/script/common/c_internal.cpp.o CMakeFiles/minetest.dir/script/common/c_types.cpp.o CMakeFiles/minetest.dir/script/common/helper.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_async.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_base.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_client.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_entity.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_env.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_inventory.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_item.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_mainmenu.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_modchannels.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_node.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_nodemeta.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_player.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_security.cpp.o CMakeFiles/minetest.dir/script/cpp_api/s_server.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_areastore.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_auth.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_base.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_camera.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_client.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_craft.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_env.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_http.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_inventory.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_item.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_itemstackmeta.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_localplayer.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_mainmenu.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_mapgen.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_metadata.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_minimap.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_modchannels.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_nodemeta.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_nodetimer.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_noise.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_object.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_particles.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_particles_local.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_playermeta.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_rollback.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_server.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_settings.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_sound.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_storage.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_util.cpp.o CMakeFiles/minetest.dir/script/lua_api/l_vmanip.cpp.o CMakeFiles/minetest.dir/script/scripting_client.cpp.o CMakeFiles/minetest.dir/script/scripting_mainmenu.cpp.o CMakeFiles/minetest.dir/script/scripting_server.cpp.o CMakeFiles/minetest.dir/server/activeobjectmgr.cpp.o CMakeFiles/minetest.dir/server/mods.cpp.o CMakeFiles/minetest.dir/threading/event.cpp.o CMakeFiles/minetest.dir/threading/semaphore.cpp.o CMakeFiles/minetest.dir/threading/thread.cpp.o CMakeFiles/minetest.dir/unittest/test.cpp.o CMakeFiles/minetest.dir/unittest/test_activeobject.cpp.o CMakeFiles/minetest.dir/unittest/test_address.cpp.o CMakeFiles/minetest.dir/unittest/test_areastore.cpp.o CMakeFiles/minetest.dir/unittest/test_authdatabase.cpp.o CMakeFiles/minetest.dir/unittest/test_ban.cpp.o CMakeFiles/minetest.dir/unittest/test_clientactiveobjectmgr.cpp.o CMakeFiles/minetest.dir/unittest/test_collision.cpp.o CMakeFiles/minetest.dir/unittest/test_compression.cpp.o CMakeFiles/minetest.dir/unittest/test_connection.cpp.o CMakeFiles/minetest.dir/unittest/test_eventmanager.cpp.o CMakeFiles/minetest.dir/unittest/test_filepath.cpp.o CMakeFiles/minetest.dir/unittest/test_gameui.cpp.o CMakeFiles/minetest.dir/unittest/test_inventory.cpp.o CMakeFiles/minetest.dir/unittest/test_keycode.cpp.o CMakeFiles/minetest.dir/unittest/test_map_settings_manager.cpp.o CMakeFiles/minetest.dir/unittest/test_mapnode.cpp.o CMakeFiles/minetest.dir/unittest/test_modchannels.cpp.o CMakeFiles/minetest.dir/unittest/test_nodedef.cpp.o CMakeFiles/minetest.dir/unittest/test_noderesolver.cpp.o CMakeFiles/minetest.dir/unittest/test_noise.cpp.o CMakeFiles/minetest.dir/unittest/test_objdef.cpp.o CMakeFiles/minetest.dir/unittest/test_player.cpp.o CMakeFiles/minetest.dir/unittest/test_profiler.cpp.o CMakeFiles/minetest.dir/unittest/test_random.cpp.o CMakeFiles/minetest.dir/unittest/test_schematic.cpp.o CMakeFiles/minetest.dir/unittest/test_serialization.cpp.o CMakeFiles/minetest.dir/unittest/test_server_shutdown_state.cpp.o CMakeFiles/minetest.dir/unittest/test_serveractiveobjectmgr.cpp.o CMakeFiles/minetest.dir/unittest/test_servermodmanager.cpp.o CMakeFiles/minetest.dir/unittest/test_settings.cpp.o CMakeFiles/minetest.dir/unittest/test_socket.cpp.o CMakeFiles/minetest.dir/unittest/test_threading.cpp.o CMakeFiles/minetest.dir/unittest/test_utilities.cpp.o CMakeFiles/minetest.dir/unittest/test_voxelalgorithms.cpp.o CMakeFiles/minetest.dir/unittest/test_voxelarea.cpp.o CMakeFiles/minetest.dir/unittest/test_voxelmanipulator.cpp.o CMakeFiles/minetest.dir/util/areastore.cpp.o CMakeFiles/minetest.dir/util/auth.cpp.o CMakeFiles/minetest.dir/util/base64.cpp.o CMakeFiles/minetest.dir/util/directiontables.cpp.o CMakeFiles/minetest.dir/util/enriched_string.cpp.o CMakeFiles/minetest.dir/util/ieee_float.cpp.o CMakeFiles/minetest.dir/util/numeric.cpp.o CMakeFiles/minetest.dir/util/pointedthing.cpp.o CMakeFiles/minetest.dir/util/serialize.cpp.o CMakeFiles/minetest.dir/util/sha1.cpp.o CMakeFiles/minetest.dir/util/sha256.c.o CMakeFiles/minetest.dir/util/srp.cpp.o CMakeFiles/minetest.dir/util/string.cpp.o CMakeFiles/minetest.dir/util/timetaker.cpp.o CMakeFiles/minetest.dir/ban.cpp.o CMakeFiles/minetest.dir/chat.cpp.o CMakeFiles/minetest.dir/clientiface.cpp.o CMakeFiles/minetest.dir/collision.cpp.o CMakeFiles/minetest.dir/content_mapnode.cpp.o CMakeFiles/minetest.dir/content_nodemeta.cpp.o CMakeFiles/minetest.dir/content_sao.cpp.o CMakeFiles/minetest.dir/convert_json.cpp.o CMakeFiles/minetest.dir/craftdef.cpp.o CMakeFiles/minetest.dir/debug.cpp.o CMakeFiles/minetest.dir/defaultsettings.cpp.o CMakeFiles/minetest.dir/emerge.cpp.o CMakeFiles/minetest.dir/environment.cpp.o CMakeFiles/minetest.dir/face_position_cache.cpp.o CMakeFiles/minetest.dir/filesys.cpp.o CMakeFiles/minetest.dir/genericobject.cpp.o CMakeFiles/minetest.dir/gettext.cpp.o CMakeFiles/minetest.dir/httpfetch.cpp.o CMakeFiles/minetest.dir/hud.cpp.o CMakeFiles/minetest.dir/inventory.cpp.o CMakeFiles/minetest.dir/inventorymanager.cpp.o CMakeFiles/minetest.dir/itemdef.cpp.o CMakeFiles/minetest.dir/itemstackmetadata.cpp.o CMakeFiles/minetest.dir/light.cpp.o CMakeFiles/minetest.dir/log.cpp.o CMakeFiles/minetest.dir/main.cpp.o CMakeFiles/minetest.dir/map.cpp.o CMakeFiles/minetest.dir/map_settings_manager.cpp.o CMakeFiles/minetest.dir/mapblock.cpp.o CMakeFiles/minetest.dir/mapnode.cpp.o CMakeFiles/minetest.dir/mapsector.cpp.o CMakeFiles/minetest.dir/metadata.cpp.o CMakeFiles/minetest.dir/modchannels.cpp.o CMakeFiles/minetest.dir/nameidmapping.cpp.o CMakeFiles/minetest.dir/nodedef.cpp.o CMakeFiles/minetest.dir/nodemetadata.cpp.o CMakeFiles/minetest.dir/nodetimer.cpp.o CMakeFiles/minetest.dir/noise.cpp.o CMakeFiles/minetest.dir/objdef.cpp.o CMakeFiles/minetest.dir/object_properties.cpp.o CMakeFiles/minetest.dir/pathfinder.cpp.o CMakeFiles/minetest.dir/player.cpp.o CMakeFiles/minetest.dir/porting.cpp.o CMakeFiles/minetest.dir/profiler.cpp.o CMakeFiles/minetest.dir/quicktune.cpp.o CMakeFiles/minetest.dir/raycast.cpp.o CMakeFiles/minetest.dir/reflowscan.cpp.o CMakeFiles/minetest.dir/remoteplayer.cpp.o CMakeFiles/minetest.dir/rollback.cpp.o CMakeFiles/minetest.dir/rollback_interface.cpp.o CMakeFiles/minetest.dir/serialization.cpp.o CMakeFiles/minetest.dir/server.cpp.o CMakeFiles/minetest.dir/serverenvironment.cpp.o CMakeFiles/minetest.dir/serverlist.cpp.o CMakeFiles/minetest.dir/serverobject.cpp.o CMakeFiles/minetest.dir/settings.cpp.o CMakeFiles/minetest.dir/staticobject.cpp.o CMakeFiles/minetest.dir/terminal_chat_console.cpp.o CMakeFiles/minetest.dir/tileanimation.cpp.o CMakeFiles/minetest.dir/tool.cpp.o CMakeFiles/minetest.dir/translation.cpp.o CMakeFiles/minetest.dir/version.cpp.o CMakeFiles/minetest.dir/voxel.cpp.o CMakeFiles/minetest.dir/voxelalgorithms.cpp.o  -o /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_games_minetest/minetest/work/minetest-5.0.1/bin/minetest -Wl,-rpath,/opt/local/lib /opt/local/lib/libz.dylib /opt/local/lib/libIrrlicht.dylib -framework OpenGL -framework OpenGL /opt/local/lib/libjpeg.dylib /opt/local/lib/libbz2.dylib /opt/local/lib/libpng.dylib /opt/local/lib/libz.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXext.dylib -framework OpenAL /opt/local/lib/libvorbisfile.dylib /opt/local/lib/libvorbis.dylib /opt/local/lib/libogg.dylib /opt/local/lib/libsqlite3.dylib /opt/local/lib/libluajit-5.1.dylib ../lib/gmp/libgmp.a /opt/local/lib/libjsoncpp.dylib -framework CoreFoundation -lpthread /opt/local/lib/libiconv.dylib -framework Carbon -framework Cocoa /usr/lib/libIOKit.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libintl.a /opt/local/lib/libcurl.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libncursesw.dylib /opt/local/lib/libform.dylib /opt/local/lib/libleveldb.dylib /opt/local/lib/libhiredis.dylib /opt/local/lib/libIrrlicht.dylib -framework OpenGL /opt/local/lib/libjpeg.dylib /opt/local/lib/libbz2.dylib /opt/local/lib/libpng.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXext.dylib -framework OpenAL /opt/local/lib/libvorbisfile.dylib /opt/local/lib/libvorbis.dylib /opt/local/lib/libogg.dylib /opt/local/lib/libsqlite3.dylib /opt/local/lib/libluajit-5.1.dylib /opt/local/lib/libjsoncpp.dylib -framework CoreFoundation -lpthread /opt/local/lib/libiconv.dylib -framework Carbon -framework Cocoa /usr/lib/libIOKit.dylib /opt/local/lib/libiconv.dylib -framework Carbon -framework Cocoa /usr/lib/libIOKit.dylib /opt/local/lib/libintl.a /opt/local/lib/libcurl.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libncursesw.dylib /opt/local/lib/libform.dylib /opt/local/lib/libleveldb.dylib /opt/local/lib/libhiredis.dylib 
ld: section __mach_header (address=0x100000000, size=33552) would make the output executable exceed available address range for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_games_minetest/minetest/work/minetest-5.0.1/bin/minetest] Error 1

Change History (2)

comment:1 Changed 2 months ago by kencu (Ken)

Keywords: leopard added
Port: minetest added

comment:2 Changed 2 months ago by kencu (Ken)

Keywords: snowleopard tiger added
Note: See TracTickets for help on using tickets.