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

* [Bug c++/109710] OS X Lio : make failed -> ld: can't open -reexported_symbols_list file
  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-reports.delphin at laposte dot net
  2023-05-03 10:46 ` bug-reports.delphin at laposte dot net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bug-reports.delphin at laposte dot net @ 2023-05-03 10:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from bug-reports.delphin at laposte dot net ---
Created attachment 54975
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54975&action=edit
Display of ./configure

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

* [Bug c++/109710] OS X Lio : make failed -> ld: can't open -reexported_symbols_list file
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bug-reports.delphin at laposte dot net @ 2023-05-03 10:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from bug-reports.delphin at laposte dot net ---
Created attachment 54976
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54976&action=edit
The error(s) output by make

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

* [Bug bootstrap/109710] Build fails with `,` in the directory name
  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 ` 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
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-03 18:47 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|OS X Lio : make failed ->   |Build fails with `,` in the
                   |ld: can't open              |directory name
                   |-reexported_symbols_list    |
                   |file                        |

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes using a comma ',' in the directory name will not work. Just stay away from
a comma.

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

* [Bug bootstrap/109710] Build fails with `,` in the directory name
  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
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2023-05-03 20:22 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We've explained several times that you can't use commas in the path:

e.g. PR 106956 which was closed as a duplicate of PR 105819

Please stop it.

*** This bug has been marked as a duplicate of bug 105819 ***

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

* [Bug bootstrap/109710] Build fails with `,` in the directory name
  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
                   ` (3 preceding siblings ...)
  2023-05-03 20:22 ` redi at gcc dot gnu.org
@ 2023-05-03 20:27 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2023-05-03 20:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It should not be hard to understand. You are using this path:

/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_13,1.x/

There is a comma in _13,1.x

Just like you were using _12,1,x earlier.

Stop doing that.

Change it to _13.1.x and _12.1.x and please stop reporting bugs about this.

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