ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:114345] [Ruby master Bug#19831] warning message of linker with macOS Sonoma beta
@ 2023-08-04  9:21 hsbt (Hiroshi SHIBATA) via ruby-core
  2023-08-16  4:27 ` [ruby-core:114393] " hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2023-08-04  9:21 UTC (permalink / raw
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #19831 has been reported by hsbt (Hiroshi SHIBATA).

----------------------------------------
Bug #19831: warning message of linker with macOS Sonoma beta
https://bugs.ruby-lang.org/issues/19831

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN
----------------------------------------
Xcode 15 beta and macOS Sonoma beta show the following warnings with `make`

```
(snip)
linking miniruby
ld: warning: ignoring duplicate library '-lpthread'
miniruby: replacing existing signature
exe/ruby: replacing existing signature
builtin_binary.inc updated
compiling builtin.c
linking static-library libruby.3.3-static.a
linking ruby
ld: warning: ignoring duplicate library '-lgmp'
ld: warning: ignoring duplicate library '-ldl'
ld: warning: ignoring duplicate library '-lobjc'
ld: warning: ignoring duplicate library '-lpthread'
ld: warning: ignoring duplicate library '-lpthread'
(snip)
```

I'm not investigate that yet. It may be caused by `ld-prime` that is new linker of macOS platform.


```
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 15.0.0.0.1.1690355577
volume: /
location: /
install-time: 1690967267
```





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:114393] [Ruby master Bug#19831] warning message of linker with macOS Sonoma beta
  2023-08-04  9:21 [ruby-core:114345] [Ruby master Bug#19831] warning message of linker with macOS Sonoma beta hsbt (Hiroshi SHIBATA) via ruby-core
@ 2023-08-16  4:27 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2023-08-16  4:50 ` [ruby-core:114394] " hsbt (Hiroshi SHIBATA) via ruby-core
  2023-12-26  5:49 ` [ruby-core:115896] " hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2023-08-16  4:27 UTC (permalink / raw
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #19831 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Closed to Open

This warnings are still happend with https://github.com/ruby/ruby/commit/af67ced3b0945e8ea67434f8e66ef1e602656438

```
linking ruby
ld: warning: ignoring duplicate library '-lgmp'
ld: warning: ignoring duplicate library '-ldl'
ld: warning: ignoring duplicate library '-lobjc'
ld: warning: ignoring duplicate library '-lpthread'
warning: (arm64)  skipping debug map object with duplicate name and timestamp: 1970-01-01 09:00:00.000000000 /Users/hsbt/Documents/github.com/ruby/ruby/libruby.3.3-static.a(node.o)
warning: (arm64)  skipping debug map object with duplicate name and timestamp: 1970-01-01 09:00:00.000000000 /Users/hsbt/Documents/github.com/ruby/ruby/libruby.3.3-static.a(pack.o)
ruby: replacing existing signature
```

```
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 15.0.0.0.1.1691205695
```



----------------------------------------
Bug #19831: warning message of linker with macOS Sonoma beta
https://bugs.ruby-lang.org/issues/19831#change-104141

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN
----------------------------------------
Xcode 15 beta and macOS Sonoma beta show the following warnings with `make`

```
(snip)
linking miniruby
ld: warning: ignoring duplicate library '-lpthread'
miniruby: replacing existing signature
exe/ruby: replacing existing signature
builtin_binary.inc updated
compiling builtin.c
linking static-library libruby.3.3-static.a
linking ruby
ld: warning: ignoring duplicate library '-lgmp'
ld: warning: ignoring duplicate library '-ldl'
ld: warning: ignoring duplicate library '-lobjc'
ld: warning: ignoring duplicate library '-lpthread'
ld: warning: ignoring duplicate library '-lpthread'
(snip)
```

I'm not investigate that yet. It may be caused by `ld-prime` that is new linker of macOS platform.


```
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 15.0.0.0.1.1690355577
volume: /
location: /
install-time: 1690967267
```





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:114394] [Ruby master Bug#19831] warning message of linker with macOS Sonoma beta
  2023-08-04  9:21 [ruby-core:114345] [Ruby master Bug#19831] warning message of linker with macOS Sonoma beta hsbt (Hiroshi SHIBATA) via ruby-core
  2023-08-16  4:27 ` [ruby-core:114393] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2023-08-16  4:50 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2023-12-26  5:49 ` [ruby-core:115896] " hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2023-08-16  4:50 UTC (permalink / raw
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #19831 has been updated by hsbt (Hiroshi SHIBATA).


```
$ rm -f ruby; make -n ruby
rm -f ruby
echo linking ruby
clang -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef   -pipe  -L. -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -fstack-protector-strong -Wl,-pie -framework CoreFoundation  main.o dmyext.o -lruby.3.3-static -framework CoreFoundation -lgmp -ldl -lobjc -lpthread  -lgmp -ldl -lobjc -lpthread   -o ruby
dsymutil ruby; { test -z 'hsbt' || codesign -s 'hsbt' -f ruby; }
```

----------------------------------------
Bug #19831: warning message of linker with macOS Sonoma beta
https://bugs.ruby-lang.org/issues/19831#change-104142

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN
----------------------------------------
Xcode 15 beta and macOS Sonoma beta show the following warnings with `make`

```
(snip)
linking miniruby
ld: warning: ignoring duplicate library '-lpthread'
miniruby: replacing existing signature
exe/ruby: replacing existing signature
builtin_binary.inc updated
compiling builtin.c
linking static-library libruby.3.3-static.a
linking ruby
ld: warning: ignoring duplicate library '-lgmp'
ld: warning: ignoring duplicate library '-ldl'
ld: warning: ignoring duplicate library '-lobjc'
ld: warning: ignoring duplicate library '-lpthread'
ld: warning: ignoring duplicate library '-lpthread'
(snip)
```

I'm not investigate that yet. It may be caused by `ld-prime` that is new linker of macOS platform.


```
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 15.0.0.0.1.1690355577
volume: /
location: /
install-time: 1690967267
```





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:115896] [Ruby master Bug#19831] warning message of linker with macOS Sonoma beta
  2023-08-04  9:21 [ruby-core:114345] [Ruby master Bug#19831] warning message of linker with macOS Sonoma beta hsbt (Hiroshi SHIBATA) via ruby-core
  2023-08-16  4:27 ` [ruby-core:114393] " hsbt (Hiroshi SHIBATA) via ruby-core
  2023-08-16  4:50 ` [ruby-core:114394] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2023-12-26  5:49 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2023-12-26  5:49 UTC (permalink / raw
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #19831 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Closed to Open

This is still happend with latest version of Xcode.

```
linking ruby
ld: warning: ignoring duplicate libraries: '-ldl', '-lobjc', '-lpthread'
ruby: replacing existing signature
```

----------------------------------------
Bug #19831: warning message of linker with macOS Sonoma beta
https://bugs.ruby-lang.org/issues/19831#change-105852

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN
----------------------------------------
Xcode 15 beta and macOS Sonoma beta show the following warnings with `make`

```
(snip)
linking miniruby
ld: warning: ignoring duplicate library '-lpthread'
miniruby: replacing existing signature
exe/ruby: replacing existing signature
builtin_binary.inc updated
compiling builtin.c
linking static-library libruby.3.3-static.a
linking ruby
ld: warning: ignoring duplicate library '-lgmp'
ld: warning: ignoring duplicate library '-ldl'
ld: warning: ignoring duplicate library '-lobjc'
ld: warning: ignoring duplicate library '-lpthread'
ld: warning: ignoring duplicate library '-lpthread'
(snip)
```

I'm not investigate that yet. It may be caused by `ld-prime` that is new linker of macOS platform.


```
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 15.0.0.0.1.1690355577
volume: /
location: /
install-time: 1690967267
```





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

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

end of thread, other threads:[~2023-12-26  5:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04  9:21 [ruby-core:114345] [Ruby master Bug#19831] warning message of linker with macOS Sonoma beta hsbt (Hiroshi SHIBATA) via ruby-core
2023-08-16  4:27 ` [ruby-core:114393] " hsbt (Hiroshi SHIBATA) via ruby-core
2023-08-16  4:50 ` [ruby-core:114394] " hsbt (Hiroshi SHIBATA) via ruby-core
2023-12-26  5:49 ` [ruby-core:115896] " hsbt (Hiroshi SHIBATA) via ruby-core

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