public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109710] New: OS X Lio : make failed -> ld: can't open -reexported_symbols_list file
@ 2023-05-03 10:43 bug-reports.delphin at laposte dot net
  2023-05-03 10:44 ` [Bug c++/109710] " bug-reports.delphin at laposte dot net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bug-reports.delphin at laposte dot net @ 2023-05-03 10:43 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-03 20:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 10:43 [Bug c++/109710] New: OS X Lio : make failed -> ld: can't open -reexported_symbols_list file bug-reports.delphin at laposte dot net
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

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).