https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530

Ev Drikos <drikosev at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drikosev at gmail dot com

--- Comment #7 from Ev Drikos <drikosev at gmail dot com> ---
Hello,

There is perhaps a Darwin specific problem reproduced in various versions, ie
8.2:

Not really sure if the problem I face is indeed related to this PR.

$ gcc8 -mfunction-return=thunk gcc/testsuite/gcc.target/i386/ret-thunk-26.c
-arch i386
Undefined symbols for architecture i386:
  "__x86_return_thunk", referenced from:
      _foo in ccQ3DlYI.o
      _bar in ccQ3DlYI.o
      _main in ccQ3DlYI.o
     (maybe you meant: ___x86_return_thunk)
ld: symbol(s) not found for architecture i386
collect2: error: ld returned 1 exit status
$
$ gcc8 -v
Using built-in specs.
COLLECT_GCC=gcc8
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin17.5.0/8.2.0/lto-wrapper
Target: x86_64-apple-darwin17.5.0
Configured with: ../gcc-8.2.0/configure --prefix=/opt/local --program-suffix=8
--enable-languages=c,c++,fortran --enable-checking=release --disable-nls
--with-system-zlib
Thread model: posix
gcc version 8.2.0 (GCC) 
$

Reply via email to