apimall / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Mac: 2272+: 32-bit builds are no longer supported #1517

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build or download the binary distribution using branch 2272 or trunk.
2. Attempt to create a 32-bit build.

What is the expected output? What do you see instead?
The build should succeed. Instead, get link errors like:

ld: symbol(s) not found for architecture i386

Please use labels and text to provide additional information.
The 32-bit binary distribution includes a 64-bit build of "Chromium Embedded 
Framework".

$ file cef_binary_3.2271.2001_macosx32/Debug/Chromium\ Embedded\ 
Framework.framework/Chromium\ Embedded\ Framework 
Chromium Embedded Framework: Mach-O 64-bit dynamically linked shared library 
x86_64

Chromium no longer builds/distributes 32-bit binaries on Mac. Perhaps there's 
some additional setting that is now required to build as 32-bit.

Original issue reported on code.google.com by magreenb...@gmail.com on 30 Jan 2015 at 8:50

GoogleCodeExporter commented 9 years ago
The value of host_arch was changed in 
https://code.google.com/p/chromium/issues/detail?id=405542#c6.

Original comment by magreenb...@gmail.com on 5 Feb 2015 at 5:34

GoogleCodeExporter commented 9 years ago
To generate a 32-bit build on Mac:

$ cd /path/to/chromium/src/cef
$ export GYP_DEFINES=host_arch=ia32
$ ./cef_create_projects.sh

That seems to work at current CEF trunk revision 2020 but will likely break in 
the future now that Chromium is no longer testing/supporting 32-bit builds.

Original comment by magreenb...@gmail.com on 5 Feb 2015 at 6:36

GoogleCodeExporter commented 9 years ago
CEF will no longer support 32-bit builds on Mac starting with 2272 branch and 
newer.  The automate_git.py tool will be updated to fail early if a 32-bit 
build of 2272+ is requested.

Original comment by magreenb...@gmail.com on 6 Feb 2015 at 9:46

GoogleCodeExporter commented 9 years ago
@#3: Changes to automate_git.py added in trunk revision 2025 and 2272 branch 
revision 2026.

Original comment by magreenb...@gmail.com on 10 Feb 2015 at 5:10

GoogleCodeExporter commented 9 years ago
Original announcement from Chromium: 
https://groups.google.com/a/chromium.org/d/msg/chromium-dev/sdsDCkq_zwo/yep65H8E
g3sJ

Original comment by magreenb...@gmail.com on 19 Feb 2015 at 6:44