Opened 13 years ago

Closed 13 years ago

#32224 closed defect (duplicate)

apple-gcc42: error: '_Unwind_Ptr' undeclared (first use in this function)

Reported by: timdiab@… Owned by: mfeiri
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), jeremyhu (Jeremy Huddleston Sequoia)
Port: libunwind-headers

Description (last modified by ryandesign (Ryan Carsten Schmidt))

After updating Xcode to 4.2.1 I got the following error when trying:

port -v upgrade outdated

Cheers

make[4]: *** [libgcc/./unwind-dw2-fde-darwin.o] Error 1
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/unwind.inc: In function '_Unwind_ForcedUnwind':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/unwind.inc:208: error: '_Unwind_Ptr' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/unwind.inc:208: error: expected ';' before 'stop'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/unwind.inc:209: error: expected ';' before 'stop_argument'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/unwind.inc:200: warning: unused parameter 'stop'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/unwind.inc:200: warning: unused parameter 'stop_argument'
make[4]: *** [libgcc/./unwind-dw2.o] Error 1
make[5]: `crt3.o' is up to date.
make[3]: *** [stmp-multilib] Error 2
make[2]: *** [all-gcc] Error 2
make[1]: *** [all] Error 2
+ exit 1
make: *** [install] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3'
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3" && /usr/bin/make -j4 -w install CC="/Developer/usr/bin/clang -std=gnu89" PREFIX="/opt/local" SRCROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3" OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/symroot" DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/destroot" RC_NONARCH_CFLAGS="-pipe -std=gnu89" RC_OS="macos" RC_ARCHS="x86_64" TARGETS="i386" " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for apple-gcc42): org.macports.install org.macports.build org.macports.destroot
Log for apple-gcc42 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log
Error: Unable to upgrade port: 1

Change History (5)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: apple-gcc42 added
Summary: Error updating apple-gcc42 Xcode 4.2.1 Build 4D502apple-gcc42: error: '_Unwind_Ptr' undeclared (first use in this function)
Type: requestdefect

Remember to use WikiFormatting, to select the correct ticket type, to fill in the Port field, and to Cc the port's maintainer. Finally, please attach the main.log.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

And please see if #32041 describes the problem (and solution).

comment:3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: mfeiri@… added; ryandesign@… removed
Port: libunwind-headers added; apple-gcc42 removed

comment:4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: ryandesign@… jeremyhu@… added; mfeiri@… removed
Owner: changed from jeremyhu@… to mfeiri@…

comment:5 Changed 13 years ago by mfeiri

Resolution: duplicate
Status: newclosed

See #32041

Note: See TracTickets for help on using tickets.