Skip to content

CI: 32-bit build failing. #30236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TomAugspurger opened this issue Dec 12, 2019 · 6 comments
Closed

CI: 32-bit build failing. #30236

TomAugspurger opened this issue Dec 12, 2019 · 6 comments
Labels
32bit 32-bit systems CI Continuous Integration

Comments

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Dec 12, 2019

We're failing to compile the C extension on linux 32. See e.g. https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=23011

@TomAugspurger
Copy link
Contributor Author

TomAugspurger commented Dec 12, 2019

#30214 is the first one I see with this failure (though it may be unrelated?) cc @WillAyd.

Ahh I see you're on it #30214 (comment). Thanks!

@TomAugspurger
Copy link
Contributor Author

The actual error is further up

/home/vsts/miniconda3/envs/pandas-dev/bin/i686-conda_cos6-linux-gnu-cc -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=prescott -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -I/include -fdebug-prefix-map=${SRC_DIR}=/usr/local/src/conda/${PKG_NAME}-${PKG_VERSION} -fdebug-prefix-map=${PREFIX}=/usr/local/src/conda-prefix -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -Ipandas/_libs/tslibs/src -I/home/vsts/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/numpy/core/include -I/home/vsts/miniconda3/envs/pandas-dev/include/python3.6m -c pandas/_libs/tslibs/src/datetime/np_datetime.c -o build/temp.linux-x86_64-3.6/pandas/_libs/tslibs/src/datetime/np_datetime.o
i686-conda_cos6-linux-gnu-gcc -pthread -shared -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-rpath,/home/vsts/miniconda3/envs/pandas-dev/lib -L/home/vsts/miniconda3/envs/pandas-dev/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-rpath,/home/vsts/miniconda3/envs/pandas-dev/lib -L/home/vsts/miniconda3/envs/pandas-dev/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,-rpath,/lib -L/lib -march=prescott -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -I/include -fdebug-prefix-map=${SRC_DIR}=/usr/local/src/conda/${PKG_NAME}-${PKG_VERSION} -fdebug-prefix-map=${PREFIX}=/usr/local/src/conda-prefix -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 build/temp.linux-x86_64-3.6/pandas/_libs/tslibs/strptime.o build/temp.linux-x86_64-3.6/pandas/_libs/tslibs/src/datetime/np_datetime.o build/temp.linux-x86_64-3.6/pandas/_libs/tslibs/src/datetime/np_datetime_strings.o -o /home/vsts/work/1/s/pandas/_libs/tslibs/strptime.cpython-36m-i386-linux-gnu.so
/home/vsts/miniconda3/envs/pandas-dev/bin/../lib/gcc/i686-conda_cos6-linux-gnu/7.3.0/../../../../i686-conda_cos6-linux-gnu/bin/ld: build/temp.linux-x86_64-3.6/pandas/_libs/tslibs/src/datetime/np_datetime.o: file not recognized: file truncated

collect2: error: ld returned 1 exit status

@WillAyd
Copy link
Member

WillAyd commented Dec 12, 2019

Ah thanks for finding that - never saw that in the logs. Good to know

@WillAyd
Copy link
Member

WillAyd commented Dec 12, 2019

I think this might be a race condition since any of the libraries that require the C sources end up recompiling the C sources each time. Probably need a few more edits to setup.py to compile the C sources once then simply link as required, but will investigate more

@jbrockmendel
Copy link
Member

is the docbuild failure just a coincidence?

@TomAugspurger
Copy link
Contributor Author

I think everything has been addressed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
32bit 32-bit systems CI Continuous Integration
Projects
None yet
Development

No branches or pull requests

3 participants