Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Issue 2850009: This patch reproduces a potential gyp bug. (Closed)

Created:
10 years, 6 months ago by apatrick_chromium
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
bradnelson
Visibility:
Public.

Description

This patch reproduces a potential gyp bug. It will not be checked in. The gyp file has a single loadable_module type target. The intended result is to build a dynamic library loadable with dlopen(). This is the link error from xcode: CompileC build/repro.build/Default/foo.build/Objects-normal/i386/foo.o /Users/apatrick/clients/chromium-mac/src/repro/foo.cc normal i386 c++ com.apple.compilers.gcc.4_0 cd /Users/apatrick/clients/chromium-mac/src/repro /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fvisibility-inlines-hidden -gdwarf-2 -I/Users/apatrick/clients/chromium-mac/src/repro/build/repro.build/Default/foo.build/foo.hmap -F/Users/apatrick/clients/chromium-mac/src/repro/build/Default -I/Users/apatrick/clients/chromium-mac/src/repro/build/Default/include -I/Users/apatrick/clients/chromium-mac/src/repro/build/repro.build/Default/foo.build/DerivedSources/i386 -I/Users/apatrick/clients/chromium-mac/src/repro/build/repro.build/Default/foo.build/DerivedSources -c /Users/apatrick/clients/chromium-mac/src/repro/foo.cc -o /Users/apatrick/clients/chromium-mac/src/repro/build/repro.build/Default/foo.build/Objects-normal/i386/foo.o Ld /Users/apatrick/clients/chromium-mac/src/repro/build/Default/libfoo.dylib normal i386 mkdir /Users/apatrick/clients/chromium-mac/src/repro/build/Default cd /Users/apatrick/clients/chromium-mac/src/repro /Developer/usr/bin/g++-4.0 -arch i386 -bundle -L/Users/apatrick/clients/chromium-mac/src/repro/build/Default -F/Users/apatrick/clients/chromium-mac/src/repro/build/Default -filelist /Users/apatrick/clients/chromium-mac/src/repro/build/repro.build/Default/foo.build/Objects-normal/i386/foo.LinkFileList -prebind -Wl,-single_module -compatibility_version 1 -current_version 1 -o /Users/apatrick/clients/chromium-mac/src/repro/build/Default/libfoo.dylib i686-apple-darwin9-g++-4.0.1: -compatibility_version only allowed with -dynamiclib

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
A repro/foo.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A repro/repro.gyp View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
apatrick_chromium
10 years, 6 months ago (2010-06-16 22:41:06 UTC) #1
This is the issue I'm having with loadable_module. Thanks.

Powered by Google App Engine
This is Rietveld 408576698