ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:55752] [ruby-trunk - Bug #8595][Open] mkmf.rb pkg_config modifies $LDFLAGS
@ 2013-07-02  2:04 sorah (Shota Fukumori)
  2013-07-02  2:05 ` [ruby-core:55753] [ruby-trunk - Bug #8595] " sorah (Shota Fukumori)
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sorah (Shota Fukumori) @ 2013-07-02  2:04 UTC (permalink / raw
  To: ruby-core


Issue #8595 has been reported by sorah (Shota Fukumori).

----------------------------------------
Bug #8595: mkmf.rb pkg_config modifies $LDFLAGS
https://bugs.ruby-lang.org/issues/8595

Author: sorah (Shota Fukumori)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
mkmf.rb's pkg_config modifies $LDFLAGS after 2.0.0 (r35605 ?) like the following:

 # ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2  ", "", "-lxml2  "]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic "
 
 # ruby 2.0.0p0 (2013-02-24) [x86_64-linux]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-lxml2 "
 
 
 # 2.0.0 + my patch
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic "

attached patch fixes this to 1.9.3 behaviour.

I'll commit this if there's no problem.

=end



-- 
http://bugs.ruby-lang.org/

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

* [ruby-core:55753] [ruby-trunk - Bug #8595] mkmf.rb pkg_config modifies $LDFLAGS
  2013-07-02  2:04 [ruby-core:55752] [ruby-trunk - Bug #8595][Open] mkmf.rb pkg_config modifies $LDFLAGS sorah (Shota Fukumori)
@ 2013-07-02  2:05 ` sorah (Shota Fukumori)
  2013-07-02  2:07 ` [ruby-core:55754] " sorah (Shota Fukumori)
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sorah (Shota Fukumori) @ 2013-07-02  2:05 UTC (permalink / raw
  To: ruby-core


Issue #8595 has been updated by sorah (Shota Fukumori).

Description updated
ruby -v changed from ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0] to ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]


----------------------------------------
Bug #8595: mkmf.rb pkg_config modifies $LDFLAGS
https://bugs.ruby-lang.org/issues/8595#change-40247

Author: sorah (Shota Fukumori)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
mkmf.rb's pkg_config modifies $LDFLAGS after 2.0.0 (r35605 ?) like the following:

 # ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2  ", "", "-lxml2  "]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic "
 
 # ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-lxml2 "
 
 
 # 2.0.0 + my patch
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic "

attached patch fixes this to 1.9.3 behaviour.

I'll commit this if there's no problem.

=end



-- 
http://bugs.ruby-lang.org/

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

* [ruby-core:55754] [ruby-trunk - Bug #8595] mkmf.rb pkg_config modifies $LDFLAGS
  2013-07-02  2:04 [ruby-core:55752] [ruby-trunk - Bug #8595][Open] mkmf.rb pkg_config modifies $LDFLAGS sorah (Shota Fukumori)
  2013-07-02  2:05 ` [ruby-core:55753] [ruby-trunk - Bug #8595] " sorah (Shota Fukumori)
@ 2013-07-02  2:07 ` sorah (Shota Fukumori)
  2013-07-02  2:20 ` [ruby-core:55755] " sorah (Shota Fukumori)
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sorah (Shota Fukumori) @ 2013-07-02  2:07 UTC (permalink / raw
  To: ruby-core


Issue #8595 has been updated by sorah (Shota Fukumori).

File a.patch added

oops, sorry, forgot to attach the patch
----------------------------------------
Bug #8595: mkmf.rb pkg_config modifies $LDFLAGS
https://bugs.ruby-lang.org/issues/8595#change-40248

Author: sorah (Shota Fukumori)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
mkmf.rb's pkg_config modifies $LDFLAGS after 2.0.0 (r35605 ?) like the following:

 # ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2  ", "", "-lxml2  "]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic "
 
 # ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-lxml2 "
 
 
 # 2.0.0 + my patch
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic "

attached patch fixes this to 1.9.3 behaviour.

I'll commit this if there's no problem.

=end



-- 
http://bugs.ruby-lang.org/

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

* [ruby-core:55755] [ruby-trunk - Bug #8595] mkmf.rb pkg_config modifies $LDFLAGS
  2013-07-02  2:04 [ruby-core:55752] [ruby-trunk - Bug #8595][Open] mkmf.rb pkg_config modifies $LDFLAGS sorah (Shota Fukumori)
  2013-07-02  2:05 ` [ruby-core:55753] [ruby-trunk - Bug #8595] " sorah (Shota Fukumori)
  2013-07-02  2:07 ` [ruby-core:55754] " sorah (Shota Fukumori)
@ 2013-07-02  2:20 ` sorah (Shota Fukumori)
  2013-07-02  4:17 ` [ruby-core:55758] " sorah (Shota Fukumori)
  2013-07-03 14:37 ` [ruby-core:55779] " nagachika (Tomoyuki Chikanaga)
  4 siblings, 0 replies; 6+ messages in thread
From: sorah (Shota Fukumori) @ 2013-07-02  2:20 UTC (permalink / raw
  To: ruby-core


Issue #8595 has been updated by sorah (Shota Fukumori).

File b.patch added

Updating patch because I uploaded older one:

* Don't append libs into $LDFLAGS 
----------------------------------------
Bug #8595: mkmf.rb pkg_config modifies $LDFLAGS
https://bugs.ruby-lang.org/issues/8595#change-40249

Author: sorah (Shota Fukumori)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
mkmf.rb's pkg_config modifies $LDFLAGS after 2.0.0 (r35605 ?) like the following:

 # ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2  ", "", "-lxml2  "]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic "
 
 # ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-lxml2 "
 
 
 # 2.0.0 + my patch
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic "

attached patch fixes this to 1.9.3 behaviour.

I'll commit this if there's no problem.

=end



-- 
http://bugs.ruby-lang.org/

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

* [ruby-core:55758] [ruby-trunk - Bug #8595] mkmf.rb pkg_config modifies $LDFLAGS
  2013-07-02  2:04 [ruby-core:55752] [ruby-trunk - Bug #8595][Open] mkmf.rb pkg_config modifies $LDFLAGS sorah (Shota Fukumori)
                   ` (2 preceding siblings ...)
  2013-07-02  2:20 ` [ruby-core:55755] " sorah (Shota Fukumori)
@ 2013-07-02  4:17 ` sorah (Shota Fukumori)
  2013-07-03 14:37 ` [ruby-core:55779] " nagachika (Tomoyuki Chikanaga)
  4 siblings, 0 replies; 6+ messages in thread
From: sorah (Shota Fukumori) @ 2013-07-02  4:17 UTC (permalink / raw
  To: ruby-core


Issue #8595 has been updated by sorah (Shota Fukumori).

Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: REQUIRED


----------------------------------------
Bug #8595: mkmf.rb pkg_config modifies $LDFLAGS
https://bugs.ruby-lang.org/issues/8595#change-40252

Author: sorah (Shota Fukumori)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED


=begin
mkmf.rb's pkg_config modifies $LDFLAGS after 2.0.0 (r35605 ?) like the following:

 # ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2  ", "", "-lxml2  "]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic "
 
 # ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-lxml2 "
 
 
 # 2.0.0 + my patch
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic "

attached patch fixes this to 1.9.3 behaviour.

I'll commit this if there's no problem.

=end



-- 
http://bugs.ruby-lang.org/

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

* [ruby-core:55779] [ruby-trunk - Bug #8595] mkmf.rb pkg_config modifies $LDFLAGS
  2013-07-02  2:04 [ruby-core:55752] [ruby-trunk - Bug #8595][Open] mkmf.rb pkg_config modifies $LDFLAGS sorah (Shota Fukumori)
                   ` (3 preceding siblings ...)
  2013-07-02  4:17 ` [ruby-core:55758] " sorah (Shota Fukumori)
@ 2013-07-03 14:37 ` nagachika (Tomoyuki Chikanaga)
  4 siblings, 0 replies; 6+ messages in thread
From: nagachika (Tomoyuki Chikanaga) @ 2013-07-03 14:37 UTC (permalink / raw
  To: ruby-core


Issue #8595 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 1.9.3: DONTNEED, 2.0.0: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONE


----------------------------------------
Bug #8595: mkmf.rb pkg_config modifies $LDFLAGS
https://bugs.ruby-lang.org/issues/8595#change-40274

Author: sorah (Shota Fukumori)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Backport: 1.9.3: DONTNEED, 2.0.0: DONE


=begin
mkmf.rb's pkg_config modifies $LDFLAGS after 2.0.0 (r35605 ?) like the following:

 # ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2  ", "", "-lxml2  "]
 p $LDFLAGS #=> "-L.  -rdynamic -Wl,-export-dynamic "
 
 # ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-lxml2 "
 
 
 # 2.0.0 + my patch
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic"
 p pkg_config('libxml-2.0') #=> ["-I/usr/include/libxml2", "", "-lxml2"]
 p $LDFLAGS #=> "-L. -fstack-protector -rdynamic -Wl,-export-dynamic "

attached patch fixes this to 1.9.3 behaviour.

I'll commit this if there's no problem.

=end



-- 
http://bugs.ruby-lang.org/

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

end of thread, other threads:[~2013-07-03 15:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-02  2:04 [ruby-core:55752] [ruby-trunk - Bug #8595][Open] mkmf.rb pkg_config modifies $LDFLAGS sorah (Shota Fukumori)
2013-07-02  2:05 ` [ruby-core:55753] [ruby-trunk - Bug #8595] " sorah (Shota Fukumori)
2013-07-02  2:07 ` [ruby-core:55754] " sorah (Shota Fukumori)
2013-07-02  2:20 ` [ruby-core:55755] " sorah (Shota Fukumori)
2013-07-02  4:17 ` [ruby-core:55758] " sorah (Shota Fukumori)
2013-07-03 14:37 ` [ruby-core:55779] " nagachika (Tomoyuki Chikanaga)

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