public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bug-reports.delphin at laposte dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/109710] New: OS X Lio : make failed -> ld: can't open -reexported_symbols_list file
Date: Wed, 03 May 2023 10:43:49 +0000	[thread overview]
Message-ID: <bug-109710-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 109710
           Summary: OS X Lio : make failed -> ld: can't open
                    -reexported_symbols_list file
           Product: gcc
           Version: 13.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bug-reports.delphin at laposte dot net
  Target Milestone: ---

Created attachment 54974
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54974&action=edit
config.log

Hi !

Thank you for studying my make process for GCC/G++ under Lion (OS X). SO,
hereafter the main details given to "configure".

Mac OS X : Lion (10.7.5)
Hardware : Intel Core 2 Duo (X86_64)
Compiler(s) used : the ones downloaded (and built) from your web site (ftp).
Versions : 4.9 or 7.5 (successfully compiled and installed, usually working
very well).

Last suceesful GCC/G++ version compiled and installed : 11.3.0 (NB Later
versions failed).

Expected result : everything OK (NB Before I buy a new Mac computer).

Result obtained :
    1/ configure passed (seen the log file)
    2/ configure dispalyed the appropriate messages (see the log file)
    3/ make fails. The message dispalyed is the following one (see the log
file) :                                                                         

lipo -output libgcc_s.1.1.dylib \
  -create libgcc_s.1.1.dylib_T*
rm libgcc_s.1.1.dylib_T*
MLIBS=`/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Workspace/_Build-Dir/./gcc/xgcc
-B/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Workspace/_Build-Dir/./gcc/
-B/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/x86_64-apple-darwin11.4.2/bin/
-B/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/x86_64-apple-darwin11.4.2/lib/
-isystem
/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/x86_64-apple-darwin11.4.2/include
-isystem
/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/x86_64-apple-darwin11.4.2/sys-include
  -fno-checking --print-multi-lib | sed -e 's/;.*$//'` ; \
for mlib in $MLIBS ; do \
  cp ../${mlib}/libgcc/${mlib}/libgcc_s.dylib  \
    ./libgcc_s.1.1.dylib_T_${mlib} || exit 1 ; \
  arch=`lipo -info libgcc_s.1.1.dylib_T_${mlib} | sed -e 's/.*:\ //'` ; \
  /Volumes/External_7/_IT-GNU/_GNU-Compilers/_Workspace/_Build-Dir/./gcc/xgcc
-B/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Workspace/_Build-Dir/./gcc/
-B/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/x86_64-apple-darwin11.4.2/bin/
-B/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/x86_64-apple-darwin11.4.2/lib/
-isystem
/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/x86_64-apple-darwin11.4.2/include
-isystem
/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/x86_64-apple-darwin11.4.2/sys-include
  -fno-checking -arch ${arch} -nodefaultlibs -dynamiclib \
    -o libgcc_s.1.dylib_T_${mlib} \
    -Wl,-reexport_library,libgcc_s.1.1.dylib_T_${mlib} \
    -lSystem \
   
-Wl,-reexported_symbols_list,/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Source/_13,1,x/gcc-13.1.0/libgcc/config/darwin-unwind.ver
\
    -install_name
/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/lib/libgcc_s.1.dylib \
    -compatibility_version 1 -current_version 1 ; \
done
ld: can't open -reexported_symbols_list file:
/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Source/_13
collect2: error: ld returned 1 exit status
my-make[3]: ***
[/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Source/_13,1,x/gcc-13.1.0/libgcc/config/t-slibgcc-darwin:139:
libgcc_s.1.dylib] Error 1
my-make[3]: Leaving directory
'/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Workspace/_Build-Dir/x86_64-apple-darwin11.4.2/libgcc'
my-make[2]: *** [Makefile:19390: all-stage1-target-libgcc] Error 2
my-make[2]: Leaving directory
'/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Workspace/_Build-Dir'
my-make[1]: *** [Makefile:25216: stage1-bubble] Error 2
my-make[1]: Leaving directory
'/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Workspace/_Build-Dir'
my-make: *** [Makefile:1077: all] Error 2

Or, simply : 
ld: can't open -reexported_symbols_list file:
/Volumes/External_7/_IT-GNU/_GNU-Compilers/_Source/_13
collect2: error: ld returned 1 exit status

Thank you !

Encl. 3 log (text) files

             reply	other threads:[~2023-05-03 10:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-03 10:43 bug-reports.delphin at laposte dot net [this message]
2023-05-03 10:44 ` [Bug c++/109710] " bug-reports.delphin at laposte dot net
2023-05-03 10:46 ` bug-reports.delphin at laposte dot net
2023-05-03 18:47 ` [Bug bootstrap/109710] Build fails with `,` in the directory name pinskia at gcc dot gnu.org
2023-05-03 20:22 ` redi at gcc dot gnu.org
2023-05-03 20:27 ` redi at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-109710-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).